my dog learned polymorphism*
The moose likes Struts and the fly likes Relative redirection works in DEV but not on PROD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Relative redirection works in DEV but not on PROD" Watch "Relative redirection works in DEV but not on PROD" New topic
Author

Relative redirection works in DEV but not on PROD

Jeevan Sunkersett
Ranch Hand

Joined: Jul 03, 2007
Posts: 77
Hi,

Our's is a struts 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


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;
e.g.


Requesting help to diagnose this.
What should I check ?

PROD specifics

OS :: Win 2008,
Server :: Apache + mod_jk + jboss
JDK :: 1.6

The Apache server is exposed to the internet via a Reverse-Proxy, implemented using SQUID.

thank you
~g1
 
Consider Paul's rocket mass heater.
 
subject: Relative redirection works in DEV but not on PROD
 
Similar Threads
Struts REquest Processor throws Null Pointer exception
url-pattern problem on production server
Weblogic 9.2 Error Code BEA-149515
Port of SMTP
Sending parameter with sendredirect