File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes https becomes http after redirectAction Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "https becomes http after redirectAction" Watch "https becomes http after redirectAction" New topic
Author

https becomes http after redirectAction

Monica Ng
Greenhorn

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?

Cheers,

Monica
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: https becomes http after redirectAction
 
Similar Threads
Java Packages
workflow problem
Struts2 Action Mapping Problem - No configuration found for the specified action
action-redirect param
Interceptor messes up action class in Struts2