A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Cannot retrieve mapping for action /content/AddLinks
JiaPei Jen
Ranch Hand
Joined: Nov 19, 2000
Posts: 1309
posted
Sep 21, 2004 13:48:00
0
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
Sheriff
Joined: Feb 05, 2003
Posts: 4725
I like...
posted
Sep 21, 2004 14:14:00
0
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.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Cannot retrieve mapping for action /content/AddLinks
Similar Threads
Horizontal scrollbar problem
Cannot Find Bean in Scope Request
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter