Yes,

I want to return to whatever page referred the current request. Whenever a
recoverable exception happens, I want to return to the current page so that
user can take some action

I am trying to avoid defining exception handling at each action level and
do globally  and want to access the current page

Thanks

On Feb 16, 2008 3:02 PM, Dale Newfield <[EMAIL PROTECTED]> wrote:

> Srinivas Surapaneni wrote:
> > I want the current page in the global exception handler. Instead of
> giving a
> > specific jsp page, I want to return to what ever the current page is
>
> That desire is not well specified.  Do you mean you want to return to
> whatever page referred the current request?  Do you really want to
> re-load that page (which may or may not be from within your webapp), or
> is simply not changing the content currently being displayed sufficient?
>
> The http return code 204 (or "no content") will leave the browser where
> it was.
>
> Otherwise it sounds like you want to redirect to the "referer" (yes,
> it's misspelled in the specification).  Note if that page was the result
> of a POST you pretty much can't redirect to it.
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to