This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Unable to Map Action to namespace -- new to Struts 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 "Unable to Map Action to namespace -- new to Struts" Watch "Unable to Map Action to namespace -- new to Struts" New topic
Author

Unable to Map Action to namespace -- new to Struts

Shyam Singh
Greenhorn

Joined: Jul 25, 2009
Posts: 13

web.xml in WEB-INF



register.jsp in MyApplication



Application Resources in classes in WEB-INF



struts.xml in WEB-INF



Test.java in classes in WEB-INF ( Tried compiling it err --> com.opensymphony.xwork2 does not exists
lib.xwork2 does not exists (lib contains all the 5 *.jar files )

Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Shyam please edit your message using button and then add code tags to the code segments so that code becomes readable otherwise it will be very hard to help you out. Also please explain your problem more clearly i.e. what problem you are facing...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

And remove the formatting tags within the code blocks--can't you see they're not working?

If you're getting a *compilation* error then your build path is set up incorrectly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to Map Action to namespace -- new to Struts
 
Similar Threads
Struts2 newbie: Exception during startup
Struts2 newbee - Problem when using form tag
Request not able to reach Action class in Struts2
problem in Struts2 while running an application
web.xml problem in struts2