struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Barta <bartata...@gmail.com>
Subject Re: Trying to migrate to 2.5.2
Date Mon, 19 Sep 2016 11:24:12 GMT
To avoid the "There is no Action mapped for namespace [/nosuchpackage] and
action name [nosuchaction] associated with context path []." pages.

Dispatcher catches ConfigurationException and displays its default error
page.

On Mon, Sep 19, 2016 at 1:17 PM, Lukasz Lenart <lukaszlenart@apache.org>
wrote:

> 2016-09-19 13:08 GMT+02:00 Tamás Barta <bartatamas@gmail.com>:
> > To answer my question and help others: I managed to handle every similar
> > problem by settings custom error handler:
> >
> >     <bean type="org.apache.struts2.dispatcher.DispatcherErrorHandler"
> > name="myHandler" class="mypackage.DispatcherErrorHandler" />
> >     <constant name="struts.dispatcher.errorHandler" value="myHandler" />
>
> Can you share more details? What was the reason as Struts provides
> default implementation.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> 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