Dealing with Struts Forwards

Ketan <[email protected]> Thu, 14 Jul 2005 07:52:17 CDT
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <30893784.1121345580499.JavaMail.os-j2ee@opensymphony01.contegix.com>
Hi,

I'm using struts on Tomcat 4.1.x (2.3 container) and trying to use different decorators depending on the url that is forwarded after an action completes.  From the posts I have been reading in this forum, forwards can only be decorated if you are using a 2.4 container i.e Tomcat 5.x.  As this is not possible for me is there any other work around besides using the calling url to perform the mapping to a decorator?  I cannot use redirect=true as there are request attributes that are required in the results page.  Also 

I was thinking whether it is possible to use a ConfigDecoratorMapper for most situations and for those where I need a different decorator specifying it in the actual page as a PageDecoratorMapper.  If this is possible are there any examples of how to do this at all.

Many thanks

Sonik

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=4328&messageID=10598#10598


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]