tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <christopher.d.schu...@comcast.net>
Subject Re: Include tag, dynamic param
Date Tue, 02 Dec 2003 03:06:15 GMT
Peter,

>        <jsp:include page="slideEvents.jsp" flush="true" >
>            <jsp:param name="BroadcastId" value="{parameterValue | 
> <%=BroadcastId%>}"/>          </jsp:include>
> 
> Should work...
> 
> This compiles / and runs... but the expression is never evaluated....

What do you get in the page source when it runs?

Do you get "<jsp:param name="BroadcastId" value="{parameterValue | <%= 
BroadcastId %>}" />"

??

If so, then something is terribly wrong. If you get the include okay, 
but the value of "BroadcastId" is
"{parameterValue | <%= BroadcastId %>}", then something else is wrong :(

Finally, if you are getting "{parameterValue | 1234}" as the value of 
BroadcastId, then it is working as designed.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message