implementing 'Back ' using struts


General J2EE: implementing 'Back ' using struts

  1. implementing 'Back ' using struts (1 messages)

    I have an 'action' defined in struts-config file that can be invoked from different pages in the application.

    Now, depending on the business logic, when something fails while I am executing this 'action' I need to transfer control to the calling page.

    How can I implement this since the calling page is a variable here.

  2. if there is a way to get the page that was seen before the action then u can maybe make the action forward use that page

    this kind of makes sense to me , but may be not to you , i hope it does