RE: Caching Fragments
Status: Inactive
Brought to you by:
fgnass
|
From: Mike A. <Mik...@ga...> - 2004-01-31 05:55:27
|
Hi Till, Thanks for the reply. Breaking the page into includes makes sense and I can create an action for each, but when an action forwards to a jsp snippet and that fragement only is rendered, how does the page as a whole get returned? Does there need to be a separate action that forwards to the jsp page containing the all of the jsp:include directives? Sorry for being so dense! Thanks, Mike -----Original Message----- From: Till Nagel [mailto:til...@ne...]=20 Sent: Thursday, January 29, 2004 2:11 AM To: Mike Aymard; act...@li... Subject: Re: Caching Fragments Hi Mike, a common aproach is to assemble pages using tiles (or plain jsp:include=20 tags) and have multiple actions for various fragments. See=20 http://jakarta.apache.org/struts/userGuide/building_view.html#includes=20 for details. Then write an action for each fragment in order to provide=20 the correct caching info and forward to a jsp snippet that just renders=20 a single fragment. |