You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vic <vs...@fayek.ca> on 2005/08/01 14:57:51 UTC

bean:include tag

Hi,

I've been trying to use <bean:include .../> in a similar way to
<jsp:include ...> but am unsuccessful.

I am trying to include a footer on my page by writting the following:

<bean:include id="footerId" page="/includes/footer.jsp" />

Unfortunately, I don't get any errors and the page is not included.  Must
I do something with footerId to get working?

Thanks for your help.

Vic

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


Re: bean:include tag

Posted by Dave Newton <ne...@pingsite.com>.
Vic wrote:

>I've been trying to use <bean:include .../> in a similar way to
><jsp:include ...> but am unsuccessful.
>  
>
http://struts.apache.org/userGuide/struts-bean.html#include

"This tag has a function similar to that of the standard |<jsp:include>| 
tag, except that the response data is stored in a page scope attribute 
instead of being written to the output stream."

Dave