I want to redirect users to a secure site. Below is serverside code written in ASP. I would like to know how I can do the same in JSP.
Created Jan 5, 2003
Joe Millionaire
request.getServerName()
request.getRequestURI()
if (!request.isSecure())
{
... switch to SSL
}
Take a look at the following methods:request.getServerName()
request.getRequestURI()