A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Relative redirection works in DEV but not on PROD
Joined: Jul 03, 2007
Aug 30, 2011 04:36:10
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.
What should 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.
I agree. Here's the link:
subject: Relative redirection works in DEV but not on PROD
Port of SMTP
Sending parameter with sendredirect
Struts REquest Processor throws Null Pointer exception
url-pattern problem on production server
Weblogic 9.2 Error Code BEA-149515
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014