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 14:07:37 UTC

DO NOT REPLY [Bug 3762] New: - 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

           Summary: rtexprevalue attributes with embedded quotes
           Product: Tomcat 4
           Version: 4.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dylans@xs4all.nl


I'm not sure if this is a bug or a misunderstanding, but if you pass
an rtexprevale as an attribute to a custom tag that contains quotes (") then
a "attribute xxx has no value" exception is thrown

failure example:

...
<testtag atr1="<%=request.getParameter("param1")%>" />
...
working sample:

...
<% String param1 = request.getParameter("param1"); %>
<testtag atr1="<%=param1%>" />
...