Hi again.
It looks like "sendRedirect()" is working if I pass it a HTTPS URL as an
argument:

-----------------------------------------------------
String s_prov = 
   request.getScheme() + "://"
+ request.getServerName()
+ request.getContextPath() + "/"
+ "example1.jsp";
                    
response.sendRedirect(s_prov);
-----------------------------------------------------

Nota: in my case, "request.getScheme()" is equal to "https".

I think I'm going back to "sendRedirect()"...
Snif :'/, it's a lot of matches to replace back (from "forward()" to
"sendRedirect()")... 

Best regards.



--
View this message in context: 
http://tomcat.10.x6.nabble.com/From-HTTP-to-HTTPS-request-getHeader-referer-tp5024782p5024851.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to