Return to previous view after action


General J2EE: Return to previous view after action

  1. Return to previous view after action (1 messages)

    Hello, forgive me if this is the wrong place to post this sort of question. Is there a way to return a user to the view (jsp etc.) they were on before they called an action (servlet or struts action), which returns without doing anything? I want the browser to go back to the previous URI before the user called the action so nothing changes, i.e. the view doesn't change and they stay on the same page. This seems like it should be an easy thing to do and I'm probably missing something very obvious but a google search hasn't brought up much that I can see useful. Thanks Andy B
  2. Sorry just seen that this isn't the right place to post this message, re-posting to the Web tier forum.