tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: [OT] 400 error when a request does not map to a context
Date Wed, 26 Jan 2011 16:10:57 GMT
2011/1/26 André Warnier <aw@ice-sa.com>:
> By the way, having had my curiosity triggered by what Chris was reporting, I
> scanned the Servlet Spec 3.0 for mentions of the "ROOT" (default) context,
> and could not really find much of relevance.
> Namely, it does not mention that one is required.  Is it ?
> And it also does not mention webapps/ROOT as being a default context, or
> even as corresponding necessarily to the "top of the URL space".
> So, my question is : is "webapps/ROOT" purely a Tomcat thing, or did I miss
> something in the Servlet Spec ?
>

It is just the context that is mapped to path "". Naming it "ROOT" is
a Tomcat convention.

Technically, you can put <Context> element into server.xml and use any
name there.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message