wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts 2 Global Exception Handling (Convention Plugin) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 Global Exception Handling (Convention Plugin)" Watch "Struts 2 Global Exception Handling (Convention Plugin)" New topic
Author

Struts 2 Global Exception Handling (Convention Plugin)

Glen Divers
Ranch Hand

Joined: Jan 21, 2010
Posts: 61
I've got a global exception handler defined in my Struts.xml.


and it's working just fine thank you, except for the Struts "There is no Action mapped ....." messages. How do I intercept those?

Regards
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Those aren't an exception, IIRC. I usually just have a default action.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 2 Global Exception Handling (Convention Plugin)
 
Similar Threads
How to handle java.lang.NullPointerException in Struts2?..
Global Exception handling issue in Struts2
configuring global exception page
Struts 2: error on adding <global-exception-mappings> tag to struts.xml
Strut2 exception handling