struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Obscure struts 404's
Date Wed, 13 Sep 2017 08:15:29 GMT
2017-09-13 10:00 GMT+02:00 Greg Huber <gregh3269@gmail.com>:
> struts.exception.missing-package-action.with-context=Not found
>
> This works but in dev mode also.

Right ... you can always implement your own DispatcherErrorHandler and
register it with "struts.dispatcher.errorHandler"

http://struts.apache.org/core-developers/dispatcher.html

but this can be an overkill ;-) Feel free to register a ticket in JIRA
and we can add a dedicated error key to specify custom error message
in case of 404.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message