tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <>
Subject Re: HTTPS --->> HTTP ?
Date Thu, 01 May 2003 18:24:46 GMT

Mufaddal Khumri wrote:

> Now after the initial login, I do not want to use HTTPS .. just HTTP.  I 
> would like to know suggestions / best ways to do this ??
> I could specify the complete URL in the redirect, but that would tie me 
> with the name of the server.

You can specify an absolute URL in the redirect that is built by 
introspecting the HttpServletRequest for the domain name.  This gives 
you the absolute URL but does not tie you to the name of a particular 

String absUrl = "http://" + request.getServerName() + "/etc";


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message