Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I use both ssl and non-ssl servlets/jsp's

Status
Not open for further replies.

jimcardwell

Programmer
Oct 2, 2002
2
CA
We have Apache 3.27 / Tomcat 4.0.4 and they are connected via the warp connector. There is a single web application in a subdirectory of the 'webapps' folder. I want to use SSL to encrypt traffic to a few pages, such as the login post servlet, but not to all servlets. I have installed mod_ssl and this seems to work (I get a padlock and can view the certificate correctly). However, whenever any jsp or servlet requests a page/servlet using https, all subsequent requests also use the https protocol. This seems to be a result of the encodeURL(servletname) calls throughout the application. Is there a way without re-coding all the encodeURL(servletname) to encodeURL( to set up apache and/or tomcat and/or the webapp so that just the specified traffic is encrypted?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top