Bug 42072 - The call of the jspDestroy method violates it about the Java Servlet Specification 2.4, SRV.2.3.2.1.
The call of the jspDestroy method violates it about the Java Servlet Specific...
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Jasper
5.5.23
All All
: P2 major (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-04-08 18:07 UTC by kawasima
Modified: 2007-04-09 16:21 UTC (History)
0 users



Attachments
This problem is solved with this patch. (1.91 KB, patch)
2007-04-08 18:10 UTC, kawasima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kawasima 2007-04-08 18:07:02 UTC
When a JSP is accessed for a second time, the jspDestroy method is called even
if a ServletException is thrown from the init method of the class that extends
HttpJspPage.

This violates the Java Servlet Specification 2.4, SRV.2.3.2.1.
Comment 1 kawasima 2007-04-08 18:10:47 UTC
Created attachment 19925 [details]
This problem is solved with this patch.

This problem is solved with this patch.
Comment 2 Mark Thomas 2007-04-09 16:21:25 UTC
Patch applied and will be included in 5.5.24 onwards.

Many thanks.