DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44106>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44106


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
          Component|Catalina                    |Catalina
            Product|Tomcat 5                    |Tomcat 6
            Summary|autodeploy configures       |autodeploy configures
                   |directories which are not a |directories which do not
                   |webapp as a context         |contain WEB-INF
   Target Milestone|---                         |default
            Version|Nightly Build               |unspecified




------- Additional Comments From [EMAIL PROTECTED]  2007-12-19 09:40 -------
Well, WEB-INF and WEB-INF/web.xml are processed if they do exist, but the
specification does not say that they must exist.

Chapter SRV.9.3 of Servlet Spec 2.4 says that a web application may consist of
some items, but as far as I searched nowhere is written that existence of
WEB-INF or deployment descriptor is required.

E.g. web applications that serve only static files may exist well without
WEB-INF/web.xml.

Please note also, that conf/web.xml in Tomcat provides the defaults for all the
web.xml files.

Also, from Sun's J2EE 5 Tutorial:
http://java.sun.com/javaee/5/docs/tutorial/doc/bnadx.html
"If your web module does not contain any servlets, filter, or listener
components then it does not need a web application deployment descriptor."


At most, it might be implemented as a configurable option to warn against such
directories, but I doubt that it should.

Marking this as an enhancement, Tomcat 6, and changing the summary.
I guess it will become WONTFIX.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to