Not as such. What you can do is have the Action class look for a a "cancel" forward when there is a cancelled command. This lets you define a local cancel forward when needed or rely on a global one otherwise.

HTH, Ted.

Gandle, Panchasheel wrote:
Is there a way to go back to previous, previous page
without having a extra forward in the config file.

say I'm on list page
then I go to add page
which calls pageAddAction on cancel

I want to go back to list page and not on pageAdd when users cancel it.

<action pageAdd
       <input list

<action pageAddAction
       <input pageAdd

Thanks
Panchasheel


--
Ted Husted,
  Junit in Action  - <http://www.manning.com/massol/>,
  Struts in Action - <http://husted.com/struts/book.html>,
  JSP Site Design  - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.



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



Reply via email to