The moose likes Struts and the fly likes https becomes http after redirectAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "https becomes http after redirectAction" Watch "https becomes http after redirectAction" New topic

https becomes http after redirectAction

Monica Ng

Joined: Jun 24, 2011
Posts: 1
Hi everyone.

I've got an Apache running on a Mandriva machine and forwarding https from port 9090 to port 8080 (to my Tomcat server). This configuration is needed by another website receiving all https requests from any other port than 9090.

My webapp starts on https://mysite:9090/WEBAPP/Login : when I successfully login, I should be redirected to Redirect action, which should redirects me to Profile action.

However, after successfully logged in, the connexion is lost: The connection to the server was reset while the page was loading.

Here is my struts.xml file:

If I replace by then profile.jsp is successfully displayed, but erroneous: the URL is still https://mysite:9090/WEBAPP/Login (instead of https://mysite:9090/WEBAPP/myaccount/Profile), no property was loaded, I cannot modify the profile (error when going to https://mysite:9090/WEBAPP/myaccount/Profile!input), and so on and so forth.

I've noticed something in my server.xml file but I'm terrible at network configuration (plus the server belongs to another company):

Any idea?


I agree. Here's the link:
subject: https becomes http after redirectAction
It's not a secret anymore!