File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

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

Joined: Aug 03, 2008
Posts: 9466

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: 2904

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:

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

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.
I agree. Here's the link:
subject: mapping error
It's not a secret anymore!