aspose file tools*
The moose likes Struts and the fly likes Cannot find ActionMappings or ActionFormBeans collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cannot find ActionMappings or ActionFormBeans collection" Watch "Cannot find ActionMappings or ActionFormBeans collection" New topic
Author

Cannot find ActionMappings or ActionFormBeans collection

ajay pk
Greenhorn

Joined: Mar 19, 2006
Posts: 1
Please help on this error
Shailesh Pillai
Ranch Hand

Joined: Jan 24, 2006
Posts: 78
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

Joined: Jan 24, 2006
Posts: 78
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>
 
 
subject: Cannot find ActionMappings or ActionFormBeans collection