cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: [C2 Patch] Requesting /cocoon causes StringIndexOutOfBoundsException
Date Tue, 31 Oct 2000 13:35:45 GMT

--- Ross Burton <rossyb@lineone.net> wrote:
> On 28 Oct 2000, Hans Ulrich Niedermann wrote:
> 
> > when http://localhost:8080/cocoon/ is requested, the match="" rule
> in
> > the sitemap handles this. However, the sitemap offers no semantics
> to
> > tell C2 what to do when http://localhost:8080/cocoon (note  the
> > missing trailing slash) is requested. 
> > 
> > So I think the most reasonable thing to do is to send a HTTP
> redirect
> > with a trailing slash. Patch is attached, in case one of the
> > committers also considers this behaviour reasonable.
> 
> I actually thought that this was a Tomcat 4 bug, as with Tomcat 3.2
> requesting localhost:8080/cocoon resulted in the path "/" being given
> to 
> Cocoon.  IMHO that is the correct behavior - what does everybody else
> think?

I've never used Tomcat 3 together with C2. I personally don't like it
anyway. But it seems users are not able to enter the suggested URI. Can
anyone contact the tomcat list to ask what is the right behaviour?

Giacomo

=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

Mime
View raw message