• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

not able to deploy

 
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
 
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
 
I was her plaything! And so was this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic