J
javaguy
I'm using Tomcat 5.5.4 and Java 1.4.2. My web.xml specifies
http://java.sun.com/dtd/web-app_2_3.dtd.
I try:
<div id="something"
style='display:<cut value="${myTest ? 'none' : 'inline'}"/>'>
and I get:
org.apache.jasper.JasperException: <h3>Validation error messages from
TagLibraryValidator for c</h3><p>
581: tag = 'out' / attribute = 'value':
An error occurred while parsing custom action attribute "value"
with value "${sampleOrderForm.hasAttachments ? 'none' : 'inline'}":
Encountered "?", expected one of ["}", ".", ">", "gt", "<", "lt",
"==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-",
"*", "/", "div", "%", "mod", "and", "&&", "or", "||"]
</p>
Since ?: is part of the EL, why won't it work here?
http://java.sun.com/dtd/web-app_2_3.dtd.
I try:
<div id="something"
style='display:<cut value="${myTest ? 'none' : 'inline'}"/>'>
and I get:
org.apache.jasper.JasperException: <h3>Validation error messages from
TagLibraryValidator for c</h3><p>
581: tag = 'out' / attribute = 'value':
An error occurred while parsing custom action attribute "value"
with value "${sampleOrderForm.hasAttachments ? 'none' : 'inline'}":
Encountered "?", expected one of ["}", ".", ">", "gt", "<", "lt",
"==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-",
"*", "/", "div", "%", "mod", "and", "&&", "or", "||"]
</p>
Since ?: is part of the EL, why won't it work here?