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
Cannot retrieve mapping for action /content/AddLinks
JiaPei Jen
Ranch Hand
Posts: 1309
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is the error message that I got in the browser: 'Cannot retrieve mapping for action /content/AddLinks'
What would be the cause of this error message? My eyes do not see the problem. Your experience and help are much needed.
I have the action mapping in the struts-config.xml like:
<action path="/content/AddLinks" type="org.dhsinfo.content.doSomething3" name="addLinkForm" scope="request" validate="false" input=".frame.content"> <forward name="success" path=".link.Confirmation"/> </action>
and the form that invokes this action is like:
<html:form action="/content/AddLinks"> <fieldset> <table> <tr> <td align="left" nowrap="nowrap"> Select Page to Add Links: </td> <td> <bean :mrgreen: efine id="pageList" name="PageBeans" scope="request" type="java.util.ArrayList" /> <html:select size="1" property="page" multiple="false"> <html :-o ptions collection="pageList" property="name" labelProperty="name"/> </html:select> </td> </tr> <tr> <td align="left" nowrap="nowrap"> Type in Link Name or Title: </td> <td> <input type="text" name="linkname" size="60" /> </td> </tr> <tr> <td align="left" nowrap="nowrap"> Type or Paste in Link Location: </td> <td> <input type="text" name="linklocation" value="http://" size="60" /> </td> </tr> <tr> <td> <br /> </td> <td> <html:submit>Submit Updates</html:submit> <html:submit>Reset Form</html:submit> </td> </tr> </html:form> <tr> <td> <br /> </td> </tr> <tr> <td> Links History </td> <td> <input type="text" name="xxx" size="60"/> </td> <td> <button type="button"> List History </button> </td> </tr> <tr> <td> <br /> </td> </tr> </table> </fieldset>
Marc Peabody
pie sneak
Posts: 4727
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Look closely and you will see what you need to .do
Final answer: forgot to restart server
[ September 21, 2004: Message edited by: Marc Peabody ]
A good workman is known by his tools.
ice is for people that are not already cool. Chill with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Horizontal scrollbar problem
java.lang.IllegalArgumentException: argument type mismatch
Question on jQuery ajax functionality & troubleshooting called bean in JSF page
Struts: Getting a blank page instead of the form
Cannot Find Bean in Scope Request
More...