Anonymous | Login | Signup for a new account | 10-30-2024 04:15 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004571 | [Resin] | minor | always | 05-23-11 11:29 | 07-06-11 13:04 | ||||
Reporter | alex | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.11 | Product Version | 3.1.9 | ||||
Product Build | |||||||||
Summary | 0004571: java.lang.ClassCastException: tag file with script + custom tag | ||||||||
Description |
rep by SHINOMIYA Nobuaki corresponding new qa: 3.1/jsp/102c We get ClassCastException in deploying a JSP in some situation. This exception is thrown when the JSP meets following three conditions. 1. The JSP uses a custom tag in which scriptlets is implemented. 2. Another custom tag is used Inside that custom tag (which is described in 1), and this custom tag does not use any scriptlet. 3. Inside the custom tag (which is described in 2), logic:iterate tag which is provided by Struts is described. The example of the JSP which meets those conditions is as follows. <ext:nest1> <ext:nest2> <logic:iterate name="hogeForm" property="hogeList" id="hogeList"> <html:text name="hogeList" property="hogeData" indexed="true" /> </logic:iterate> </ext:nest2> </ext:nest1> nest1.tag (with scriptlet) <%@ tag pageEncoding="UTF-8" %><% /*scriptlet*/ %><jsp:doBody/> nest2.tag (with no scriptlet) <%@ tag pageEncoding="UTF-8" %><jsp:doBody/> I also attach the following files. error message, JSP file, tag files, and generated java files when the exception occurred Will you help us to find out why this error happens? |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |