<p>Does anyone know how I can retrieve the previous JSP URL that a page has come from within a JSP?</p>

<p>Can I retrieve this from the session/ request/ response object?</p>

<p>Hope this makes sense, Thank you </p>

(assuming Struts 1)
Well in the struts-config.xml there is a input parameter in the action element (in the action-mappings section)
So in your action (java class) you can access this value like this :
```
public ActionForward action(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response) {
     //do some stuff
     return mapping.getInputForward(); //return to the caller
  }
```
so if you want an action to return to its originating page, you can define 
multiple action entry pointing to the same action but with a different name and input value.
Hope that helps.