It's not a secret anymore!
The moose likes Struts and the fly likes STRUTS example not running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS example not running" Watch "STRUTS example not running" New topic

STRUTS example not running

ir pi

Joined: Oct 06, 2010
Posts: 2
hello I'm learning struts but an example i followed from the net isn't working...can anybody look into this ?



i get this error

Joe Ess

Joined: Oct 29, 2001
Posts: 9188

Welcome to the JavaRanch.
Where did you find this example? It's sure looks wrong. The struts.xml file should be under the WEB-INF directory. Your helloworld.class file should be under classes, not lib. The path is case-sensitive, so I think CLASSES is wrong as well.
If you want a good example, several come with the Struts distribution, including a blank application that you can extend with your own code.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: STRUTS example not running
jQuery in Action, 3rd edition