I have a simple shopping cart the worked just fine under Tomcat 4.1.29
with JSTL 1.0.5.
I want to move it to Tomact 5.0.19 with JSTL 1.1.
I have changed the tld to the jsp 2.0 xml-schema,
tried adding el-ignore with true and false attribs.
but have yet to get rid of the following error.
The attrib 'amount' comes from a session variable
holds the total purchase amout.
I'm not sure what else to try. Any suggestions would
be appreciated.
Thanks,
Jack
org.apache.jasper.JasperException: /checkout.jsp(81,3) According to TLD
or attribute directive in tag file, attribute amount does not accept any
expressions
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:186)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:984)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:739)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1458)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2230)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2236)
org.apache.jasper.compiler.Node$Root.accept(Node.java:485)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
org.apache.jasper.compiler.Validator.validate(Validator.java:1518)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:247)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]