Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find ActionMappings or ActionFormBeans collection

 
ajay pk
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help on this error
 
Shailesh Pillai
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even i am facing the same problem.
Let me know if it gets sorted out.
Try on this thread :
http://www.coderanch.com/forums/
 
Shailesh Pillai
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • 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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic