aspose file tools*
The moose likes Struts and the fly likes Action Mapping error with Struts 2.1.x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Mapping error with Struts 2.1.x" Watch "Action Mapping error with Struts 2.1.x" New topic
Author

Action Mapping error with Struts 2.1.x

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Guys,

I have my action mapping as follows in my struts-content.xml which in turn extends struts-common.xml:





And in my web.xml, the default page is index.jsp and when startup of my Tomcat, I get the following message as warning:



Why is it?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

The index.jsp does not show up correctly when requested.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

Any takers for this post?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

PatienceIsAVirtue

Somewhere you're constructing a link wrong and getting a "pages" namespace. Impossible to say where, since you don't provide the code that leads to the error.

I'm also very wary of your JSP locations; they should really start with a leading "/".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action Mapping error with Struts 2.1.x