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 2001/09/21 18:46:50 UTC
DO NOT REPLY [Bug 3762] -
rtexprevalue attributes with embedded quotes
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=3762>.
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=3762
rtexprevalue attributes with embedded quotes
craig.mcclanahan@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From craig.mcclanahan@sun.com 2001-09-21 09:46 -------
When you use JSP tags (either standard or custom), you must conform to XML
syntax requirements within those tags. That means you either need to escape the
"inner" set of double quotes, or use single quotes on the outside set:
<test:tag attr1='<%= request.getParameter("param1") %>'/>
This is usually easier, because XML attributes can be delimited with either
single quotes or double quotes.