André Warnier wrote: > Caldarale, Charles R wrote: >>> From: André Warnier [mailto:[EMAIL PROTECTED] >>> Subject: Re: Tomcat mapping of URLs -> servlets >>> >>> At deployment time thus (in my hypothetical case above when >>> Tomcat starts and finds a such webapps top dir), does it >>> recursively go through the webapp dirs and subdirs, to >>> determine what is a webapp and what is not ? >> >> No, that's not necessary; only .war files and directories immediately >> under a <Host>'s appBase along with any <Context> elements with >> non-redundant docBase attributes are webapps. >> > Ok, thanks. > So, in my admittedly forced earlier example, only /foo would be > recognised as a webapp, and even /foo/bar would not be. > Except if there was, for /foo/bar, an appropriate <Context> element, > inside a foo#bar.xml file, itself located under > (tomcat_base)/conf/Catalina/(hostname)/ > > Have I finally got it right ?
Almost ;) As of 6.0.18 you can have foo#bar.war or a foo#bar directory in your host's appBase and they will also be recognised as having a context path of /foo/bar Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]