Mantis - Resin
Viewing Issue Advanced Details
4258 major always 10-13-10 15:30 11-02-10 14:34
nfedorov  
ferg  
normal  
closed 4.0.10  
fixed  
none    
none 4.0.13  
0004258: JSP Compiler error when using 3 or more nested custom tags
Minimal JSP sample to reproduce:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" [^] prefix="c" %>
<c:url>
    <jsp:attribute name="value">
        <c:url>
            <jsp:attribute name="value">
                <c:url value="PASSED"/>
            </jsp:attribute>
        </c:url>
    </jsp:attribute>
</c:url>

Expected result:
PASSED

Result under Resin 4.0.10:

  Cause: /templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8 = _jsp_state.get_jsp_CoreUrlTag_8(pageContext, _jsp_parent_tag);
      ^
/templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8.doStartTag();
      ^
/templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8.doEndTag();
      ^
3 errors
  Cause: /templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8 = _jsp_state.get_jsp_CoreUrlTag_8(pageContext, _jsp_parent_tag);
      ^
/templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8.doStartTag();
      ^
/templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8.doEndTag();
      ^
3 errors
com.caucho.jsp.JspParseException: /templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8 = _jsp_state.get_jsp_CoreUrlTag_8(pageContext, _jsp_parent_tag);
      ^
/templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8.doStartTag();
      ^
/templates/jsp/resin.jsp:7: cannot find symbol
symbol : variable _jsp_CoreUrlTag_8
location: class _jsp._templates._jsp._resin__jsp
      _jsp_CoreUrlTag_8.doEndTag();
      ^
3 errors
    at com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:463)
    at com.caucho.jsp.JspManager.compile(JspManager.java:260)
    at com.caucho.jsp.JspManager.createPage(JspManager.java:189)
    at com.caucho.jsp.JspManager.createPage(JspManager.java:170)
    at com.caucho.jsp.PageManager.getPage(PageManager.java:339)
    at com.caucho.jsp.PageManager.getPage(PageManager.java:269)
    at com.caucho.jsp.PageManager.getPage(PageManager.java:252)
    at com.caucho.jsp.QServlet.getSubPage(QServlet.java:295)
    at com.caucho.jsp.QServlet.getPage(QServlet.java:210)
    at com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:237)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:144)
...

Notes
(0004808)
ferg   
11-02-10 14:34   
jsp/1cje