This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not able to deploy

 
vamsi nani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check whether entries in struts-config are correct
 
vamsi nani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you make a request for a page like this

/(contextroot)/sub.do
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic