Or even better:
change "class=.." to "type=.."
class means: this class can be instantiated
type means: This attribute has been set before and should not be instantiated 
(List cannot anyway because its an interface)

Since Tomcat 5 the JSP compiler checks this to reduce runtime errors.

Am Donnerstag, 8. Juni 2006 10:57 schrieb Ángel Luis Diez Hernández:
> Summary: Code that worked in Tomcat 4 throws a jsp exception in Tomcat
> 5.0.28
>
> My Jsp file contains a line:
> <jsp:useBean id="beanListaFvfieldtype" class="java.util.List"
> scope="request"/>
>
> In Tomcat 4 this same line worked. However in Tomcat 5.0.28 it causes this
> exception:
>
>
> /cms/Back/code/fvlist_init.jsp(10,0)
> [Thu Jun 08 09:55:07 CEST 2006]
> org.apache.jasper.JasperException: /cms/Back/code/fvlist_init.jsp(10,0)
>  at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler
>.java:39) at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:40
>9) at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:15
>0) at
> org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1
>227) at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116) at
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>  at org.apache.jasper.compiler.Node$Visitor.visitBod...
>
> Anyone knows how can I solve it?
>
> Thanks.
>
> Angel

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to