cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Redirect problem in Cocoon+Jetty... or is it Tomcat?
Date Wed, 04 Dec 2002 16:00:52 GMT

Grab the latest Cocoon from CVS, and launch "build run".
Then point the browser to http://localhost:8888/

The redirect doesn't work it seems...

Then point to http://localhost:8888/samples/
It should redirect to http://localhost:8888/samples/welcome but instead 
it redirects to http://localhost:8888/welcome (one step back)

Then goto http://localhost:8888/samples/misc
It redirects to http://localhost:8888/samples/welcome

Now, if I put a / in front of the redirect url (should be relative to 
servlet context, no?) it seems to work.

There is something wrong with the redirection-resolving, but honestly I 
don't know if the problem is in Tomcat, that makes it all work, Cocoon 
or Jetty.

What is the correct behaviour?

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message