+1
While Ive not had opportunity to use tiles myself but Ive only ever heard
good things about it. Id suggest its well worth the effort learning as it
appears to be far superior to other jsp templating methodologies.

-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Thursday, 25 September 2003 14:59
To: Struts Users Mailing List
Subject: Re: How to include part of a page dynamically?


This is easily done with Tiles.

---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

----- Original Message -----
From: "Morten Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 11:57 PM
Subject: How to include part of a page dynamically?


> I'm developing a site where the pages consists of a number of different
parts:
>
> top, left, right, MAIN, footer, buttom
>
> I want to dynamically include the MAIN part, so that I include a page,
that
> I generate in the action that forwards to the page. For instance I would
> like to say:
>
> In
> ViewPage.action I do a: request.setAttribute("specialPage" , "search").
>
> Then in the jsp page I would like to write something like:
> <jsp:include page="<%specialPage%>.jsp" />  and get the "search.jsp" page
> included in the MAIN block.  This way I could extend the site by just
> adding a jsp page.
>
> How can that be done?
>
>
> Thanks
>
>
> Morten Andersen
> Master of applied mathematics and computer science
> Amanuensis (in e-learning)
>
> The Maersk Institute of Production technology at Southern Danish
University
> www.mip.sdu.dk
> Campusvej 55
> DK-5230 Odense M
> Denmark
> +45 6550-3654
> +45 6171-1103
> Jabber id: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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

Reply via email to