Hello all, I am having problems with my web.xml file. When I start Tomcat 4.0.4, I get the following on my DOS window:
Also, here is my web.xml file. Note:When I delete the portion dedicated to the TopLineGenerator, the HelloWorld servlet comes up fine. But neither comes up when I add it in and I get the message above.
Any ideas? Thanks, [ June 26, 2002: Message edited by: Jason Kretzer ]
Jason R. Kretzer<br />Software Engineer<br />System Administrator<br /><a href="http://alia.iwarp.com" target="_blank" rel="nofollow">http://alia.iwarp.com</a>
XML DTD's give you the required structure of XML files. You are throwing a parse exception, so something is wrong with your structure.
As a guide... (icon?, display-name? ... context-param*, filter* ... servlet*, servlet-mapping* ...)
( - start the element ? - optional * - can be 0 to many , - list seperator -> order IS implied. (and ... is my way of snipping out things)
So the above example could be read out: A web-app element is composed of optionally an icon followed by optionally a display-name followed by zero or more context-params followed by zero or more filters followed by zero or more servlets followed by zero or more servlet-mappings
the "order IS implied" is the big clue. [ June 26, 2002: Message edited by: Mike Curwen ]