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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org