*
The moose likes Struts and the fly likes 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 "Convention plugin" Watch "Convention plugin" New topic
Author

Convention plugin

Priya Bindra
Ranch Hand

Joined: Sep 22, 2009
Posts: 51
I am trying to learn to work with Convention plugin 2.1.8.1 I read through http://cwiki.apache.org/WW/convention-plugin.html to set up the hello-world example. But i get 404 error with the url. All i did to setup the plugin was to put the convention plugin jar in my webapp's web-inf/lib. I dont know why then the plugin is not working?

any insights?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You have provided almost no information with which to help.

Have you set devMode to true and enabled DEBUG logging for struts, xwork, and the convention plugin? Are there any errors on startup? Have you changed any of the default plugin settings? What's your class hierarchy? Have you used any annotations? Are your result pages in place? Have you followed the troubleshooting guide on the page you linked to?
 
 
subject: Convention plugin
 
Similar Threads
How to avoid validation if request was done by GET method?
Where is this index.action in struts.xml?
Struts 2 InterceptorStack Issues
Struts2 Convention plugin with junit plugin
The action name cannot be the same as the action suffix [Action]