This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 9345
    
    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: 9345
    
    2

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

Joined: Sep 26, 2006
Posts: 9345
    
    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 "/".
 
Don't get me started about those stupid light bulbs.
 
subject: Action Mapping error with Struts 2.1.x
 
Similar Threads
It is possible to exclude interceptor for given action?
Unhandled Exception while run the struts
Form action defaulting to 'action' attribute's literal value
a4j is not defined
Tiles problem in rendering