Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

https becomes http after redirectAction

 
Monica Ng
Greenhorn
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?

Cheers,

Monica
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic