> From: mmocnik [mailto:[EMAIL PROTECTED]
> Subject: Default webapp
>
> Please correct me, if I'm missing an option.

I think you've got them all.

> So why doesn't it work to set the path in the context def of
> a specific webapp to ""?

Because that introduces ambiguity and confusion - the name of the webapp 
directory or .war file vs the path attribute.  The path attribute is there only 
to provide compatibility for those in the process of moving up from older 
versions of Tomcat.

> It's looks like an elegant way to make a webapp the root
> webapp, so why disable it?

Depends on your viewpoint; for me, it's much more elegant and straightforward 
to use the name of the webapp.  I would much prefer that <Context> elements not 
be allowed in server.xml, and the horribly abused path attribute would then be 
illegal.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to