Or you could use <bean:define> or <jsp:useBean> ... OR you could use <c:set>

There are a myriad of ways to introduce scripting variables without 
introducing scriplets into your code-base.

Gideon, Thomas wrote:

>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>>
>>I think you could use the syntax:
>>
>><jsp:include page="/page.jsp" flush="true"> 
>>    <jsp:param name="yourVariable" value="<%=variable%>"/>
>></jsp:include>
>>
>
>This will work if variable is a *scripting* variable already.  If it is a
>form bean, then you may have to add a scriptlet, first, like:
>
><%
>Object variable = pageContext.findAttribute("variable");
>%>
>
>otherwise your runtime expression may cause a JSP compilation error
>complaining about an undefined symbol, variable.
>
>Thomas Gideon
>Sr. Software Developer
>B2eMarkets
>
>301.230.2236  Tel.
>301.230.2248  Fax.
>[EMAIL PROTECTED]
>www.B2eMarkets.com
>

-- 
Eddie Bush




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to