• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Cannot find ActionMappings or ActionFormBeans collection

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help on this error
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even i am facing the same problem.
Let me know if it gets sorted out.
Try on this thread :
https://coderanch.com/forums/
 
Shailesh Pillai
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's my struts-config.xml. I am still getting the above error.
Can anyone sort it out please.

----------------------------------------------------------------

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">

<struts-config>

<!-- ================================================ Form Bean Definitions -->

<form-beans>
<form-bean name="CustomerForm"
type="mybank.myapp.CustomerForm" />
</form-beans>


<!-- ========================================= Global Exception Definitions -->

<global-exceptions>

</global-exceptions>


<!-- =========================================== Global Forward Definitions -->

<global-forwards>

<forward
name="mainpage"
path="Index.jsp"/>
</global-forwards>


<!-- =========================================== Action Mapping Definitions -->

<action-mappings>

<action
path="/submitCustomerForm"
type="mybank.myapp.CustomerAction"
name="CustomerForm"
scope="request"
validate="true"
input="CustomerDetails.jsp" >

<forward name="success" path="Success.jsp" />
<forward name="failure" path="Failure.jsp" />

</action>



</action-mappings>


<!-- ============================================= Controller Configuration -->

<controller
processorClass="org.apache.struts.action.RequestProcessor"/>


<!-- ======================================== Message Resources Definitions -->

<message-resources parameter="mybank.myapp.MyAppMessages" />


<!-- =============================================== Plug Ins Configuration -->

<!-- ======================================================= Tiles plugin -->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >

<!-- Path to XML definition file -->
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
<!-- Set Module-awareness to true -->
<set-property property="moduleAware" value="true" />
</plug-in>


<!-- =================================================== Validator plugin -->

<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>

</struts-config>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic