tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3762] New: - rtexprevalue attributes with embedded quotes
Date Fri, 21 Sep 2001 12:07:37 GMT
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%>" />
...

Mime
View raw message