tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <lmhe...@orange.fr>
Subject Re: From HTTP to HTTPS request.getHeader("referer")
Date Sun, 02 Nov 2014 15:30:28 GMT
Léa Massiot wrote
> Before I tried to make the webapp work with HTTPS, I was always using
> calls like these:
> ----------------------------------------------------------------------
> response.sendRedirect("example1.jsp");
> ----------------------------------------------------------------------
> 
> Last week, I replaced all these calls with these new ones:
> ----------------------------------------------------------------------
> requestDispatcher =
> getServletContext().getRequestDispatcher("/example1.jsp");
> requestDispatcher.forward(request, response);
> ----------------------------------------------------------------------
> (with the appropriate JSP of course).
> 
> I made that change because "sendRedirect()" didn't "work" with HTTPS.
> I didn't mention this before because I thought it was solving this other
> problem.

Just a precision: if I use "sendRedirect()", the error I get is:
----------------------------------------------------------------------
Nov 02, 2014 4:27:25 PM org.apache.coyote.http11.AbstractHttp11Processor
process
INFO: Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at
DEBUG level.
----------------------------------------------------------------------



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

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


Mime
View raw message