hi guys,
I have a jsp file resding on my machine in "/jsp/user/reg.jsp" and this is
the form tag
<html:form action="/Register.do" focus="username" method="post">
.....html tags here
</html:form>
and i have struts-user.xml as config for user module with a form-bean and
action mapping set as
<form-beans>
<form-bean name="UserRegForm" type="myapp.user.form.UserRegForm"/>
</form-beans>
<action-mappings>
<action name="UserRegForm" path="/Register" scope="request"
input="/jsp/user/reg.jsp" type="myapp.user.action.UserRegAction">
<forward name="success" path="/jsp/success.jsp"/>
</action>
</action-mappings>
Now when i call http://localhost/myapp/jsp/user/reg.jsp it throws an error
org.apache.jasper.JasperException: Cannot retrieve mapping for action
/Register
I must be doing something terribly wrong. Please guide me.
-navjot
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]