aspose file tools*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Relative redirection works in DEV but not on PROD