Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Include tag, dynamic param

Christopher Schultz

2003-12-01

Replies:

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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.