wood burning stoves 2.0*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unknown Handler classes" Watch "Unknown Handler classes" New topic
Author

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
 
Similar Threads
Struts2.0 interceptor Problem
struts2 problem
ActionError problems with Singleton Action Bean in Struts2
problem with EL
Struts2 ModelDriven Not Threadsafe?