Register / Login
Win a copy of
The Java Performance Companion
this week in the
Relative redirection works in DEV but not on PROD
posted 4 years ago
Our's is a
based web application
In the code, for a particular use we need to redirect user to a page.
The code snippet from the ActionClass is
ActionForward actionForward = new ActionForward("selectedServices.do?parameter=showSelectedServices"); actionForward.setRedirect(true); return actionForward;
This code works fine in our DEV and QA environments but does not work in PRODUCTION.
However in PRODUCTION, redirection to an absolute, fully classified URL works fine;
ActionForward actionForward = new ActionForward("https://wwww.myapp.com/selectedServices.do?parameter=showSelectedServices");
Requesting help to diagnose this.
I check ?
OS :: Win 2008,
Server :: Apache + mod_jk +
JDK :: 1.6
The Apache server is exposed to the internet via a Reverse-Proxy, implemented using SQUID.
Weblogic 9.2 Error Code BEA-149515
Sending parameter with sendredirect
url-pattern problem on production server
Struts REquest Processor throws Null Pointer exception
Port of SMTP