The problem basically is that your ERROR result is not working. Since you have a relative path in your struts configuration (<result name="error">error.jsp</result>) so Struts is looking for error.jsp in abc folder at the root of your application. If error.jsp is at the root of your application (i.e. accessible via the URL http://localhost:8080/My/error.jsp), then you should change the configuration to an absolute URL like
The configuration file you posted has the JSP at the top level.
Joined: Jan 08, 2010
now it is ok
anyway if you know please let me a Struts Reference
it is better step by step practical one other than all theory one.
Now i am using Manning in Action book and http://www.coreservlets.com/ site.
Struts 2 in Action is a perfectly fine book; it's not just "theory". My book is okay, but the second half of the book isn't Struts 2-specific. Budi's book is pretty good. Both the S2iA and Budi's book are Struts 2.0, mine is Struts 2.1. The Struts 2 documentation wiki covers most everything, and is *entirely* practical, but only small parts of it are tutorial in nature: