struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas Surapaneni" <srinivas.surapan...@gmail.com>
Subject Re: struts result going to a current page
Date Sat, 16 Feb 2008 19:41:12 GMT
I am working on struts2.

I cannot return null from the action.

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

On Feb 16, 2008 1:55 PM, auz <f.ivan86@gmail.com> wrote:

>
> try returning null as an actionForward
> this works for ajax. its for struts 1.x
>
>
> Srinivas Surapaneni wrote:
> >
> > I want to define a global exception handler where if this exception
> > happens,
> > it goes to the current page
> >
> > Is there any way to get the current page and specify it as the result ?
> >
> > Thanks
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/struts-result-going-to-a-current-page-tp15509367p15518636.html
> Sent from the Struts - User mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message