Jon Stevens wrote:

> on 12/17/2000 7:31 PM, "Jon Stevens" <[EMAIL PROTECTED]> wrote:
>
> > In tomcat-4.0/conf/server.xml, I have defined:
> >
> > <Context path="/" docBase="scarab" reloadable="true">
> > </Context>
>
> I figured out this problem...it should be:
>
> <Context path="" docBase="scarab" reloadable="true">
> </Context>
>
> No "/" in there.
>
> That is a bug.

> :-)
>

I'd say that is actually a feature :-)

* It is consistent with what you get back from request.getContextPath()
  when your webapp is the root context.

* It is consistent with the way that Tomcat 3.0/3.1/3.2 refer to the
  context path of the root context.

>
> -jon

Craig


Reply via email to