What do you mean by "convert"? An HTTP request is an HTTP request; nothing will make it into an HTTPS request. The response to the HTTP request could be a redirect to an equivalent HTTPS URL, though. Or you could instruct the web app to do that automatically.
Prabhat Ranjan wrote:How can we convert http request to Https in servlet or jsp ?
Prabhat, if your intention is "How to enable SSL", then for tomcat it is done by enabling the port in server.xml , if I'm not wrong. But may be container specific which you need to go through documentation.
Joined: Oct 04, 2006
yes you are correct. I mean to 'how to enable SSL' .