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 Java 8 in Action this week in the Java 8 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: 9243
    
    1

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, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

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

Joined: Sep 26, 2006
Posts: 9243
    
    1

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
 
Similar Threads
Form action defaulting to 'action' attribute's literal value
Tiles problem in rendering
Unhandled Exception while run the struts
It is possible to exclude interceptor for given action?
a4j is not defined