Page 1 of 1

Support for servlet 3.0 in Demosite web.xml

Posted: Thu Nov 14, 2013 6:58 am
by shashikant.kulkarni
Hi,
In the web.xml file I see the version is 2.4
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" id="WebApp_ID">


is Servlet version 3.0 supported in the demo application like

<web-app version="3.0"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"


If yes then how to make the changes and where?

Re: Support for servlet 3.0 in Demosite web.xml

Posted: Thu Nov 14, 2013 4:47 pm
by phillipuniverse
There's not really a reason that it would not work in Servlet 3.0. Feel free to change it as you described. We have not personally investigated if it breaks anything but would love to hear about any trouble (or success!) that you have.