We are migrating an application from Jboss 3.2.8 to Jboss 5.1.0GA.
Regarding to the web.xml file for my application. What would be the pros and cons of keeping my we.xml pointing to servlet version 2.3 instead of 2.5.
If I leave my web.xml with <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> it works quite well so far.
But if I update the web.xml pointing to 2.5 like
It then throws expetions which I would expeted. My question is: does it worth the effort to upgrade to 2.5 and fix the issues? What would be the consequences in leaving 2.3?
Thanks for any comments.