Hello
I have a
servlet protected with <transport-guarantee>CONFIDENTIAL</transport-guarantee>, which correctly makes glassfish generate an automatic redirection response to the https port, when i use that servlet's mapped url in the browser. However, once there, any redirection to some unprotected resource keeps using the htpps protocol, not http and i don't want that. How can i do a response.sendRedirect(/*WHAT DO I PUT HERE?*/) that acomplishes this ? That is, if i use
the server response redirect location is for
https://localhost:
8082/mywebapp/myurl,
instead of
http://localhost:/
8081/mywebapp/myurl
Thank you