I'm seeing some odd behavior since converting from Tomcat 3.x to 4.0...
it seems that 4.0 is extremely picky about the *order* things are in
within WEB.XML.

For example, with Tomcat 3.x I could do

<servlet>
...
</servlet>

<servlet-mapping>
...
</servlet-mapping>

<servlet>
... another servlet
</servlet>

<servlet-mapping>
...another servlet mapping
</servlet-mapping>

etc, etc.

The order of servet/servlet-mapping tags was irrlevevent as long as
everything was correct.

Now with Tomcat 4, it refuses to load a servlet unless *all* <servlet>
tags come first, then all associated <servlet-mapping> tags come
after... 

Is this design intentional, or is it a bug? Its not a huge deal, but
I'm used to having my web.xml files formatted for better readability and
TC4 doesn't like it. Why should it care if I want to put each
<servlet-mapping> tag right after its associated <servlet> tag?

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

Reply via email to