Caroline Jen wrote:
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">

Everything seems to look good here. Make sure that the class org.dhsinfo.content.doSomething3 actually exists in the webapp's classpath.


Also, you may try taking making the html:form action be "content/AddLinks" instead of "/content/AddLinks" - it shouldn't help, but just in case...

If neither of those helps..are you sure you restarted your webapp after adding the action to struts-config.xml :)

Matt


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to