Ok, got it working, i was using the convention plugin. but i had to
manually define the action which take care of the error in struts.xml
Thanks,
Nuwan
Nuwan Chandrasoma wrote:
Hi All,
does this work with jetty?. I couldn't get this working with jetty
sometime back :)
Thanks,
Nuwan
Mani
Hi All,
does this work with jetty?. I couldn't get this working with jetty
sometime back :)
Thanks,
Nuwan
ManiKanta G wrote:
to which filter mapping? FilterDispatcher's mapping?
And could give sample snippet of web.xml using .action for http 404 error?
Well I got it... yes, for Filt
return e-mail and securely discard this message.
-Original Message-
From: ManiKanta G [mailto:go4m...@gmail.com]
Sent: Wednesday, January 28, 2009 12:35 PM
To: Struts Users Mailing List
Subject: Re: how to redirect error page to struts action
>
> to which filter m
>
> to which filter mapping? FilterDispatcher's mapping?
> And could give sample snippet of web.xml using .action for http 404 error?
>
Well I got it... yes, for FilterDispatcher's mapping only the dispatcher
config should be there.
Reason:
If no types are specified, the default option is RE
> If you're using Struts 2, have you tried adding
>
> ERROR
>
> to the filter mapping?
>
to which filter mapping? FilterDispatcher's mapping?
And could give sample snippet of web.xml using .action for http 404 error?
ManiKanta
Tom Pop wrote:
Wow, it works!
Thank you a lot - what does this setting mean?
http://www.onjava.com/pub/a/onjava/2004/02/11/jspcookbook.html
http://docs.sun.com/app/docs/doc/819-3669/6n5sg7b0b
Dave
-
To unsubscribe, e-mail: u
Wow, it works!
Thank you a lot - what does this setting mean?
Tom
> Původní zpráva
> Od: Nils-Helge Garli Hegvik
> Předmět: Re: how to redirect error page to struts action
> Datum: 27.1.2009 22:18:52
>
> If you
If you're using Struts 2, have you tried adding
ERROR
to the filter mapping?
Nils-H
On Tue, Jan 27, 2009 at 10:14 PM, Tom Pop wrote:
> Hello,
>
> I want to redirect 404 error page to struts action:
>
> This action works:
> http://localhost/resolver.action
>
> This web.xml configuration doesn't
8 matches
Mail list logo