https://issues.apache.org/bugzilla/show_bug.cgi?id=56568
Bug ID: 56568
Summary: Incompatible change in "JSPs only permit GET POST or
HEAD"
Product: Tomcat 8
Version: 8.0.1
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Since JSP 2.3 (Tomcat 8) only supported method for JSP is GET POST or HEAD:
https://jcp.org/aboutJava/communityprocess/maintenance/jsr245/245-MR3.html
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/servlet/JspServlet.java?view=diff&r1=1497877&r2=1497878&pathrev=1497878
But, I suppose, it is a big incompatible change as, for example, for exception
handler it is used to forward to JSP for rendering exception and iso JSP view
since JSP 2.3 response is:
Method Not Allowed
HTTP Status 405 - JSPs only permit GET POST or HEAD
description The specified HTTP method is not allowed for the requested
resource.
Apache Tomcat/8.0.3
If we use REST and Spring HandlerExceptionResolver in case of exception we bump
into this problem for sure. Are there any workaround for this problem (iso
change http method type)?
http://stackoverflow.com/questions/23886941/http-status-405-jsps-only-permit-get-post-or-head
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]