I'm working with Weblogic 12c and my web aplicatión versión is 2.
It seems that my aplicatión have a collision due to the Servlet 3.0 especificatión that Weblogic use.
How can I use Weblogic 12c as a 2.5 Servlet container?
<web-app version="2.4" ...
pp:module module:Miapp.war path:null spec-version:3.0]] Servlet failed with an Exception
java.lang.IllegalStateException: Cannot forward a response that is already committed
Nevertheless, in Weblogic documentation its writed the following:
-If a Web application version is 2.5 (for example, its web.xml has a version attribute of 2.5) and the backward-compatibility flag is set to false, then:
All version 2.1 JSP/TAG files will follow the new JSP behavior.
All version 2.0 or earlier JSP/TAG files will follow the previous JSP 2.0 or earlier behavior.
-If a Web application version is 2.5 and the backward-compatibility flag is set to true, then all JSP/TAG files will follow the previous JSP 2.0 or earlier behavior.
-If the Web application version is 2.4 or earlier, then all JSP/TAG files will follow the previous JSP 2.0 or earlier behavior no matter how the backward-compatibility flag is set.
Implicit Servlet 2.5 Package Imports
The Servlet 2.5 specification mandates that only the java.lang., javax.servlet., javax.servlet.jsp., and javax.servlet.http. packages be implicitly imported. In compliance with the Servlet 2.5 specification, WebLogic Server will only import these mandated packages. Whereas, previous releases of WebLogic Server also imported the java.io., java.util., and javax.servlet.jsp.tagext.* packages.
WebLogic Server will follow the previous 2.4 or earlier behavior and import the non-mandated packages, if any of the following occur:
-The backward-compatible flag is set to true in the weblogic.xml descriptor file.
-The Web application version is 2.4 or earlier.
-The individual JSP/TAG files in a version 2.5 Web application are version 2.0 or earlier.
So I suppose that my applicantion should work. I also have tried with the weblogic.xml backward compatibility configuration
My app works fine in Tomcat 6.0 with JSP 2.1 API and Servlet 2.5