wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 8836

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.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
It is sorta covered in the JavaRanch Style Guide.
subject: STRUTS example not running
Similar Threads
WARNING: Could not find action or result
Http 404 resource() not found error?
The requested resource () is not available.
Struts2 config error
problem in Struts2 while running an application