A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Relative redirection works in DEV but not on PROD
url-pattern problem on production server
Sending parameter with sendredirect
Weblogic 9.2 Error Code BEA-149515
Struts REquest Processor throws Null Pointer exception
Port of SMTP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014