Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Error: Cannot retrieve mapping for action /Name
pradeep chellappan
Greenhorn
Posts: 29
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi ,
I am getting the following error:
Error: Cannot retrieve mapping for action /Name
Code Snippet:
----------------
index.jsp
<html:form action="Name" name="nameForm" type="example.NameForm">
struts-config.xml
<form-beans>
<form-bean name="nameForm" type="example.NameForm"></form-bean>
</form-beans>
<action path="/Name"
type="example.NameAction"
name="nameForm"
input="/index.jsp"
>
<forward name="success" path="/displayname.jsp" />
<forward name="failure" path="/index.jsp"/>
</action>
Please let me know what mistake i have commited.
pradeep chellappan
Greenhorn
Posts: 29
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
I got the problem myself....
i missed out to include <action-mappings>tag in struts-config.xml.
Balu Sadhasivam
Ranch Hand
Posts: 874
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Just a a minute late in asking you the complete
struts
file. Its always better to post your complete struts config file for these kind of errors.By the way did your server did not thrown an error with wrong config file configurations?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts Error Help Needed
struts 2 actionforms
tomcat problem.
I need a help to solve this error
Struts Sample Login Program
More...