Just take a look at the DTD file associated with web.xml. It's in the DOCTYPE tag, for example:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> At 11:20 AM 12/26/2001 +0800, you wrote: >Hi all, >can anyone tell me where i can find a piece of doc about >the order of the tags in a web.xml file? For a while, i have been trying >to use different combinations of those tags but still i couldn't find out >the right order. I searched archives, FAQs , even >http://java.sun.com/dtd/web-app_2_3.dtd but couldn't find anything about >that. >how are we supposed to know the correct order of those tags? Without that, >i can't get my tomcat 4 server worked. >Let me make my problem more clear: >i want to set some security constraints on my directories,so i need to set ><security-constraints> tags, but whenever i try i am having parsing >exceptions due >to inproper ordering of those tags. In a more straightforward saying, >where should <security-constraints> tags be put, before -or -after mime >types, > sesion-config,login config, etc. >Please help me as soon as possible. >Best Regards :) > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com --------------------------------------------------------------------------------------------------------------------- Robert Burdick Author, "Essential Windows CE Application Programming", John Wiley and Sons Co-author, "Professional JSP, 2nd Edition", Wrox Press Microsoft eMVP [EMAIL PROTECTED] www.wAppearances.com (650)-917-8446 (office) (650)-906-3707 (cell) =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com