Mantis - Resin
Viewing Issue Advanced Details
3321 minor always 02-05-09 07:59 06-08-09 14:09
jujuz  
ferg  
normal  
closed 3.1.7  
fixed  
none    
none 4.0.1  
0003321: Issue using jsp:useBean with generic type

<jsp:useBean id="names" scope="request" type="java.util.List<java.lang.String>"/>

throws a Sax exception,
we try both javac and external Java compiler with the same result


To test I have tried with Apache Tomcat and It works.

++
Julien.-

  com.caucho.jsp.JspLineParseException: /WEB-INF/views/pulse/engineering/rfq/rfqDetails.jsp:1: org.xml.sax.SAXParseException: The value of attribute "t
ype" associated with an element type "null" must not contain the '<' character.
 

        at com.caucho.jsp.java.JspNode.error(JspNode.java:1761)
        at com.caucho.jsp.java.JspNode.error(JspNode.java:1750)
        at com.caucho.jsp.java.JavaJspGenerator.validate(JavaJspGenerator.java:567)
        at com.caucho.jsp.JspCompilerInstance.generate(JspCompilerInstance.java:463)
        at com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:386)
        at com.caucho.jsp.JspManager.compile(JspManager.java:241)
        at com.caucho.jsp.JspManager.createPage(JspManager.java:170)
        at com.caucho.jsp.JspManager.createPage(JspManager.java:149)
        at com.caucho.jsp.PageManager.getPage(PageManager.java:248)
        at com.caucho.jsp.PageManager.getPage(PageManager.java:178)
        at com.caucho.jsp.PageManager.getPage(PageManager.java:161)
        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:238)
        at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:145)
        at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
        at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:283)
        at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)

Notes
(0004066)
ferg   
06-08-09 14:09   
jsp/3455