File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014