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 2002/01/23 12:24:21 UTC
DO NOT REPLY [Bug 5974] New: -
using Java code with quotes in attribute-value of tag
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5974>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5974
using Java code with quotes in attribute-value of tag
Summary: using Java code with quotes in attribute-value of tag
Product: Tomcat 4
Version: 4.0.1 Final
Platform: PC
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: ntruon@ferranti.be
When assigning a value to the attribute of a JSP-custom-tag (of a custom tag-
library) that is using Java-code to define the value, the Tomcat JSP parser
fails to parse this, if you have double quotes (") in this Java-code.
Example:
<dvb:Tab select="<%= b?"yes":"no" %>"> Groups</dvb:Tab>
The parser complains with "Attribute true has no value".
Note: with tags without end-tag
( example: <dvb:Tab select="<%= b?"yes":"no" %>" />),
it is parsed correctly and there is no error!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>