I am trying to switch between http and https using jsp/servlet. Application server is Tomcat 4.1.18.
Say, I have a login page. When submitting the userid and password, I hope to switch to https (port 443 or 8443). Then the page will either stay with https or switch back to http (port 80 or 8080) depending on the user identity.
Jakarta site says they have turn to Struts, though this can be done with jsp/servlet. Based on my current deployment environment, I wish to solve this problem under jsp/servlet framework.
Anybody have any experience on this issue?
Thanks in advance!
Say, I have a login page. When submitting the userid and password, I hope to switch to https (port 443 or 8443). Then the page will either stay with https or switch back to http (port 80 or 8080) depending on the user identity.
Jakarta site says they have turn to Struts, though this can be done with jsp/servlet. Based on my current deployment environment, I wish to solve this problem under jsp/servlet framework.
Anybody have any experience on this issue?
Thanks in advance!