You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ralph Schaer <sc...@ess.ch> on 2001/10/16 02:32:24 UTC
Tag parameter
Hello
In a jsp page I have the following statement:
<bean:message key="<%= (isHour) ? "Hour_Total" : "Days_Total" %>"/>
With resin 2.0.2 this code works without any problems.
But Tomcat 4.0.1 says
org.apache.jasper.compiler.ParseException: /zl/editzl1.jsp(611,64) Attribute Hour_Total has no value
at org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:563)
at org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:681)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:826)
Are such statements not allowed or is this a bug in tomcat 4.0.1?
Ralph