2011/1/26 André Warnier <[email protected]>: > 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: [email protected] For additional commands, e-mail: [email protected]
