Did you ever find the answer to this?
I am currently having a problem with the web.xml declaration.
Nope, never got an answer on this.
I've noticed that the JBoss4.0.4.GA version only has the web-app_2.4.xsd. It does not have the 2.5 version, so that makes me wonder if it supports the 2.5 version.
I was having problems with this. All of my JSTL tags were showing up in the JSP literally instead of being interpreted as a JSTL tag. What solved my problem was compiling my code in JDK 1.5. I was still compiling in JDK 1.4.
The answer to this is to not use web-app_2.5.xsd if your using the embedded Tomcat with JBoss-4.0.4.GA. That version of Tomcat is 5.5 and it supports the Servlet 2.4 specification not the Servlet 2.5 specification. So, you'll get all sorts of problems if you use the web-app_2.5.xsd. Use the web-app_2.4.xsd and should be fine.
I've just moved to Tomcat 5.5 from Jetty 5.0 (or so) and find that my JSTL tags are showing up in the HTML literally instead of being processed. I'm unable to find any helpful information on how to fix this. I am compiling for 1.4 because I have no 1.5 specific code, nor, at this point, any desire to go there. I am using version 2.4 in my web.xml. Does anyone know of any other reason for this to happen? I can't find any error messages from Tomcat.