You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Th...@swissinfo.ch on 2003/03/15 13:07:57 UTC
RE: include struts pages within a struts page?
> Hello everybody,
>
> Is it possible to include struts pages within a struts page?
>
> Example:
> /showPage.do?pageId=1 shows a navigation. The user of the webpage never
> looks at this page directly but he could.
>
> /showPage.do?pageId=10 shows the home page. Instead of including something
> like
> "/navigation.jsp" within page 10, "/showPage.do?pageId=1" is included.
>
> The advantage is, that page 10 doesn't have to know which database
> requests have to be done
> to display page 1. Page 10 simple has to know the url of page 1. The pages
> could be splitted into standalone
> components. If you simply include "/navigation.jsp", all database work
> must have been done already.
>
> But this means, that the ActionServlet may be called more than once for
> one request.
>
> Did anybody do this already?
> Could it cause problems if the controller is passed multiple times per
> request?
>
>
> Greethings,
>
> Thomas Rimmele
>
>
> http://www.swissinfo.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org