Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action Mapping error with Struts 2.1.x

 
Joe Harry
Ranch Hand
Posts: 10122
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Joe Harry
Ranch Hand
Posts: 10122
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The index.jsp does not show up correctly when requested.
 
Joe Harry
Ranch Hand
Posts: 10122
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any takers for this post?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 "/".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic