This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Relative redirection works in DEV but not on PROD

Jeevan Sunkersett
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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;

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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic