This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Convention plugin" Watch "Convention plugin" New topic

Convention plugin

Priya Bindra
Ranch Hand

Joined: Sep 22, 2009
Posts: 51
I am trying to learn to work with Convention plugin I read through 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

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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Convention plugin
Similar Threads
The action name cannot be the same as the action suffix [Action]
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