cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Redirects and Cocoon 2
Date Mon, 18 Dec 2000 19:34:38 GMT
Berin Loritsch wrote:
> 
> Does anyone else (beside me) have issues with redirection?

Well, Joerg Henne brought up the fact that redirection during output
production (especially in a XSP page) must be caught to stop it and to
reset to a clean state (but I think this is not what you've meant here).

> I am mostly concerned with WebServers/Servlet engine combos.
> 
> Tomcat standalone works great, but WebSphere/IBM HTTP Server
> (based on Apache 1.3.12) does not.
> 
> Basically, the error I get is that when I redirect from
> 
> http://localhost/cocoon/
> 
> to
> 
> http://localhost/cocoon/welcome
> 
> In WebSphere I get:
> 
> http://localhost/welcome
> 
> What makes this even more perplexing is that the same type
> of thing happens at the root context level:
> 
> http://localhost/
> 
> redirected to
> 
> http://localhost/welcome
> 
> yeilds
> 
> http://welcome/
> 
> which is clearly wrong.  All redirects (I know of) are being
> run through HttpServletResponse.encodeRedirectURL(resource).
> 
> Has anyone else solved this issue?

Not that I am aware of.

Giacomo

Mime
View raw message