When you move from normal protocol (http) to security protocol (https), all context attributes will be lost. How to maintain the page context in this situation?

Serge Knystautas

You can do this by having a web server handle http and https negotiations, and leave your servlet engine to only handle processing JSPs and servlets. For instance, if you put Apache (with mod_ssl or whatever) in front of Tomcat, you can send http and https requests to a single servlet context within Tomcat. Tomcat includes nice HOWTOs for putting Apache in front of Tomcat.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact