-
1. Re: Element web-app does not allow servlet here
ggregd May 14, 2002 12:22 PM (in response to ggregd)(Also on JBoss-2.4.4_Tomcat-3.2.3 (non-beta))
-
2. Re: Element web-app does not allow servlet here
jules May 18, 2002 7:43 PM (in response to ggregd)I have a couple of similar reports for Jetty.
The problem seems to be with ordering of elements in the web.xml.
Something has changed which makes JBoss/Jetty stricter about the order that elements must be found in.
Whether this is:
- the parser
- the DTD
I have not yet had time to verify.
Massage your web.xml a bit and you should get it to deploy in both.
If you figure out what broke it, I would be very interested to know.
Jules -
3. Re: Element web-app does not allow servlet here
edjbarron Jul 10, 2002 7:12 AM (in response to ggregd)I'm having similiar issues. I've tried moving stuff
around, to no avail. Any workarounds to this problem?
Thanks... -
4. Re: Element web-app does not allow servlet here
jules Jul 10, 2002 8:11 PM (in response to ggregd)The parser is being strict about element ordering.
Find the DTD and order your XML in exactly the same order as they appear in the DTD.
This ensures MAXIMUM portability of your application.
Unfortunately other vendors are a little more relaxed, which leads to incompatibilities.
Jules