1. Let's assume you have a bean which has getName & setName methods.

2. In your jsp page,
i) <jsp:useBean id="yourbean" scope="application" class="path to your bean class's
package" />
ii) <jsp:setProperty name="yourbean" property="*" />

3) in footer.jsp file
call <jsp:getProperty name="yourbean" property="name" />

This should work,

Thx
Kumar

Frank Starsinic wrote:

> if i have an include in my jsp like so....
>
> <%@ include file="_footer.jsp" %>
>
> how can i pass variables to that jsp file so it can parse them and display them
> accordingly.
>
> just like passing parameters to a method in java like displayFooter(x,y,z)
>
> thanks,
> frank
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to