wood burning stoves 2.0*
The moose likes Struts and the fly likes plug-in issue in Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "plug-in issue in Struts 2" Watch "plug-in issue in Struts 2" New topic
Author

plug-in issue in Struts 2

deep kulkarni
Greenhorn

Joined: Dec 05, 2007
Posts: 18
Hi,
I am implementing struts validation framework. And in struts-config.xml file i have made following entry after last <action-mappings>,

<message-resources parameter="ApplicationResources" />
<plug-in classname="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
</plug-in>
But once i after i added pluf-in in struts config my application is not starting. and its giving following exception .

Jun 11, 2009 6:41:47 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet action is currently unavailable


Please let me know if anyone know about this.
deep kulkarni
Greenhorn

Joined: Dec 05, 2007
Posts: 18
please do not post any reply for above post .This issue is resolve by adding <controller > tag
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: plug-in issue in Struts 2