Cannot retrieve mapping for action /
hi
i am getting this ex ception.....
javax.servlet.ServletException: Cannot retrieve mapping for action /
the jsp have the form tag as
<html:form action="sendmisdetails" enctype="multipart/form-data" >
i have action defined in the struts-config
<action
path="/sendmisdetails"
type="com.hti.webems.registry.SendEMail"
name="registryForm"
scope="request"
validate="true"
input="/sendEmail.jsp">
<forward
name="success"
path="/confermation.jsp"/>
<forward
name="failure"
path="/registryNotConfermation.jsp"/>
<forward
name="validMobile"
path="/isForget.jsp"/>
</action>
any help?
[1058 byte] By [
BRAVOa] at [2007-11-27 11:56:02]

r u using bean anywhere ? where r u passing jsp data ,,,
i think u have to use <form bean > tag in struts-config.xml
i already have the form-bean defined
the problem is even after
defining the form-bean and the action it is giving
the exception....
one more thing which action?
action /
ie it is not giving the name after /
BRAVOa at 2007-7-29 19:05:20 >

use this
<html:form action="/Lookup" name="beanName" type="beanType">
and
in struts-config
<action-mappings>
<action
path="/Lookup"
type="ActionName"
name="beanName">
<forward name="success" path="/success.jsp"/>
<forward name="failure" path="/failure.jsp"/>
</action>
This has to work !!!!!