| Author |
not able to deploy
|
vamsi nani
Greenhorn
Joined: Jun 14, 2006
Posts: 12
|
|
I am getting cannot find Action mapping or form bean Error , when I try to run a sample strut application , I am providing the URL here,pl give me the solution http://www-128.ibm.com/developerworks/websphere/techjournal/0302_fung/fung.html
|
 |
vidya sagar
Ranch Hand
Joined: Mar 02, 2005
Posts: 580
|
|
|
Check whether entries in struts-config are correct
|
 |
vamsi nani
Greenhorn
Joined: Jun 14, 2006
Posts: 12
|
|
hi vidhya pl see my Strut-config ,I am pasting here , for action and jsp u can see the URL I have given : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <!-- Data Sources --> <data-sources> </data-sources> <!-- Form Beans --> <form-beans> <form-bean name="subForm" type="org.apache.struts.action.DynaActionForm"> <form-property name="size" type="java.lang.String" /> <form-property name="topping" type="java.util.HashMap" /> <form-property name="type" type="java.lang.String" /> <form-property name="a" type="java.lang.String" /> <form-property name="b" type="java.lang.String" /> <form-property name="topping" type="java.util.HashMap" /> <form-property name="topping" type="java.util.HashMap" /> <form-property name="topping" type="java.util.HashMap" /> <form-property name="topping" type="java.util.HashMap" /> <form-property name="topping" type="java.util.HashMap" /> </form-bean> </form-beans> <!-- Global Exceptions --> <global-exceptions> </global-exceptions> <!-- Global Forwards --> <global-forwards> </global-forwards> <!-- Action Mappings --> <action-mappings> <action name="subForm" path="/sub" scope="session" type="com.ibm.StrutsSampleWeb1.actions.subAction"> <forward contextRelative="false" name="sucess" path="/confirm.jsp"> </forward> </action> </action-mappings> <!-- Message Resources --> <message-resources parameter=" com.ibm.StrutsSampleWeb1.resources.ApplicationResources"/> </struts-config>
|
 |
vidya sagar
Ranch Hand
Joined: Mar 02, 2005
Posts: 580
|
|
Did you make a request for a page like this /(contextroot)/sub.do
|
 |
 |
|
|
subject: not able to deploy
|
|
|