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/08/29 19:35:15 UTC

DO NOT REPLY [Bug 12171] New: - does not evaluate expression for value="<%=expression%>"

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=12171>.
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=12171

<jsp:params> does not evaluate expression for value="<%=expression%>"

           Summary: <jsp:params> does not evaluate expression for
                    value="<%=expression%>"
           Product: Tomcat 4
           Version: 4.1.9
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Janicki@ia-inc.com


Within a <jsp:plugin> tag, the <jsp:params> tag doesn't evaluate expressions, (for the value attribute at least).  Below is a sample of my JSP source code, and how it looks by the time it gets to the browser:

JSP Source:
<jsp:param name="rmi" value="<%=rmiport%>"/>

HTML Output:
<param name="rmi" value=rmiport>


The same goes for the attributes as they appear in the <embed> output plugin tag.  Note that the quotes are also stripped off the value.  

(Of course I've tested the value of 'rmiport' and it is correctly set to my particular port number, not the text value "rmiport".)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>