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 mapping error 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
Reply locked New topic
Author

mapping error

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
this is my struct.xml


this is my web.xml


this is index.html


when i run index.html and click the link it gives this error?


my pages folder is in WebContent folder and it contans login.jsp
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Did you actually name your configuration file struct.xml (instead of struts.xml) or is that just a typo??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
here is my screenshot.
i name it as a struts.xml




[Thumbnail for err.GIF]

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Samanthi perera wrote:
<package name="net.roseindia" namespace="/abc" extends="struts-default">

Note: If you're following the example from roseindia, then beware, its not the site you should follow, why ? here is an one example:
http://balusc.blogspot.com/2008/06/what-is-it-with-roseindia.html


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'm locking this.

Stop posting the same question over and over and over. We're answering them, but you're not paying attention to anything you're doing.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mapping error
 
Similar Threads
Struts2 velocity tag problem (org.apache.velocity.exception.ParseErrorException: Encountered "#end)
There is no Action mapped for action name showLogin. - [unknown location]
Need Help - Struts2 s:select issue - Urgent
Struts2 Action problem Problem
File not found error