can any one tell me what changes need to be done for the jboss-3.0.8 to support the servlet2.3 api. I made the changes in the web.xml file to
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
but still it is giving the error. There are both web-app_2_2.dtd and web-app_2_3.dtd files in the server. Here is the following error.
org.xml.sax.SAXParseException: Element "web-app" does not allow "listener" here.
The doctype is incorrect. It should be as stated in the web-app_2_3.dtd:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">