• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

not able to deploy

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

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