Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using SSL with JSP pages

 
Trader Joey
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an existing web-application ( uses JSP and servlets ) that does not use SSL.
Now, I want to use SSL in the application so that certain pages use SSL (https) and the rest dont.
My question is this. In order to use SSL in my web-application do I have to change all the links on these pages to http and https as the case may be ? ( and also write code within the https refered pages to see if the protocol used was indeed https ).
Please advice.
I am using Tomcat 4.0.
Thanks
Nikhil
 
Remesh Govind
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nikhil,
a)HTTP and HTTPS you can mix and use .No problemo.

b) but once on a secure connect ... maintain all info that way. Data is confidential right.

c) you will need to enable HTTPS .

d) you will need to get a valid certificate.
e) make sure your browser supports https.
f) if you are going through a proxy . make sure it is not filtered.

cheers
Remesh
 
Juanjo Bazan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nikhil Nikhil:

My question is this. In order to use SSL in my web-application do I have to change all the links on these pages to http and https as the case may be ? ( and also write code within the https refered pages to see if the protocol used was indeed https ).

As Remesh said the HTTPS has to be configured in you server creating a valid certificate.
To get info about how to do it in Tomcat check this out
Concerning your code, you would have to change the links properly, but you don�t need to write code within the https refered pages to check the protocol.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic