Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

https becomes http after redirectAction

Monica Ng
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?


Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!