users@glassfish.java.net

Glassfish HttpServletResponse::sendRedirect

From: Comerford, Sean <Sean.Comerford_at_espn3.com>
Date: Wed, 26 Aug 2009 14:30:25 +0000

So this may not be a Glassfish question per se but here goes:

We switched from a proprietary servlet 2.3 container to Glassfish v2.1
(servlet 2.5).

We have VIPs (virutal IPs) that consist of numerous hosts.

So http://foo.com is routed to either http://bar1 or http://bar2

Since switching to Glassfish / servlet 2.5, sendRedirect(³/index²) now sends
the user to http://barX/index instead of http://foo.com/index (which is what
we want and how it worked before)

Iım not sure how sendRedirect is determining the domain to use but is there
a Glassfish config way to override what itıs doing?
 
-- 
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454    Cell: 860.329.5842