You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/11/17 15:34:07 UTC
DO NOT REPLY [Bug 32275] New: -
Problem with compilation and
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32275>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32275
Summary: Problem with compilation and <jsp:useBean id="toto"
scope="request" class="java.lang.Integer"/>
Product: Tomcat 5
Version: 5.0.28
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P1
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: erwan.legeleux@exane.com
Hello,
I find it when i will try to upgrade from 4.1.30 to 5.0.28 (realease).
You can test that :
<jsp:useBean id="toto" scope="request" class="java.lang.Integer"/>
<html>
<body>
It doesn't compile
</body>
</html>
Here is exception stack trace :
org.apache.jasper.JasperException: /test.jsp(1,1)
org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch
(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError
(ErrorDispatcher.java:150)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit
(Generator.java:1227)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
It doesn't work also with java.lang.Boolean class.
I think it is a critical, but not bloquer because we can't use getAttribute
method instead.
I hope, you will find a solution.
Thanks a lot.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org