title: Use HTTPS only for certain pages in servlet based webapp
body: <p>I have a servlet based webapp running on Tomcat 6 server. The URL scheme is HTTPS. The entire site is currently being served on HTTPS. But what I would really like to do is setup HTTPS only for certain operations like purchase and login. Is there any configuration in Tomcat that can help me do this easily?</p>
  
  <p>Are there any code changes required to persist session across HTTPS and HTTP?</p>