Redirect from tile controller

2006-09-15 Thread Gupta, Rahul
Hi, I have a layout JSP (layout.jsp) with two tiles. I am using tile controllers to populate data to be displayed in each tile. Code is specified below. If an exception is thrown by 2nd tile controller, is there a way to redirect to a completely new JSP (say error.jsp), instead of displaying the

Re: Redirect from tile controller

2006-09-15 Thread Adam Gordon
If you are using TilesRequestProcessor as your controller (and it's probably not limited to this class) you can extend it to add any methods you need to call from an Action's execute(...) method. The trick is getting an instance of the controller from within the action - and I don't know how

RE: Redirect from tile controller

2006-09-15 Thread Gupta, Rahul
- From: Adam Gordon [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 10:05 AM To: Struts Users Mailing List Subject: Re: Redirect from tile controller If you are using TilesRequestProcessor as your controller (and it's probably not limited to this class) you can extend it to add any

RE: Redirect to tile

2005-10-10 Thread David G. Friedman
Users Mailing List Subject: Redirect to tile Hi All, I have one question. There is one action action path=/*actionPath* name=someForm forward name=success path=*tileName* redirect=true/ /action in tiles config file I have written definition for *tileName*. Now when this action is called

Redirect to tile

2005-10-09 Thread Nikhil Walvekar
Hi All, I have one question. There is one action action path=/*actionPath* name=someForm forward name=success path=*tileName* redirect=true/ /action in tiles config file I have written definition for *tileName*. Now when this action is called it displays proper page, but how redirect