File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Unknown Handler classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unknown Handler classes" Watch "Unknown Handler classes" New topic

Unknown Handler classes

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
If we add a bean to struts.xml file for class that implement com.opensymphony.xwork2.UnknownHandler interface, and also declare a package level attribute <default-action-ref> for default action if none is matched.
Which one will take precedence, action class declared using <default-action-ref> or class declared using <bean> tag?

I am slow but sure
It is sorta covered in the JavaRanch Style Guide.
subject: Unknown Handler classes