Hi,
I'm using WebSphere to build a struts application, and as soon as I hit the site with my browser I get the following exception:
[19/03/04 08:32:37:828 EST] 5db93a57 DispatchActio E org.apache.struts.actions.DispatchAction DispatchMapping[/loadCriteria] does not define a handler property
[19/03/04 08:32:37:844 EST] 5db93a57 WebGroup E SRVE0026E: [Servlet Error]-[action]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: DispatchMapping[/loadCriteria] does not define a handler property
As I'm just starting off, my struts-config.xml looks like so:
<struts-config>
<!-- Data Sources -->
<data-sources>
<data-source key="RMEDB" type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName" value="org.gjt.mm.mysql.Driver" />
<set-property property="url" value="jdbc:mysql://localhost/RMEDB" />
<set-property property="password" value="" />
<set-property property="username" value="root" />
<set-property property="maxActive" value="10" />
<set-property property="minActive" value="2" />
<set-property property="maxIdle" value="6" />
<set-property property="maxWait" value="-1" />
</data-source>
</data-sources>
<!-- Form Beans -->
<form-beans>
<form-bean name="ReportCriteria" type="au.gov.vic.vwa.rme.form.ReportCriteriaForm" />
</form-beans>
<!-- Global Forwards -->
<global-forwards>
</global-forwards>
<!-- Action Mappings -->
<action-mappings>
<action path="/loadCriteria"
type="au.gov.vic.vwa.rme.action.Criteria"
validate="false">
<forward name="success" path="./criteria.jsp" />
<forward name="failure" path="./index.html" />
</action>
</action-mappings>
<!-- Message Resources -->
<message-resources parameter="rmeweb.resources.ApplicationResources"/>
<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>
.... Any ideas or suggestions to stop it causing the exception ?
I'm using WebSphere to build a struts application, and as soon as I hit the site with my browser I get the following exception:
[19/03/04 08:32:37:828 EST] 5db93a57 DispatchActio E org.apache.struts.actions.DispatchAction DispatchMapping[/loadCriteria] does not define a handler property
[19/03/04 08:32:37:844 EST] 5db93a57 WebGroup E SRVE0026E: [Servlet Error]-[action]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: DispatchMapping[/loadCriteria] does not define a handler property
As I'm just starting off, my struts-config.xml looks like so:
<struts-config>
<!-- Data Sources -->
<data-sources>
<data-source key="RMEDB" type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName" value="org.gjt.mm.mysql.Driver" />
<set-property property="url" value="jdbc:mysql://localhost/RMEDB" />
<set-property property="password" value="" />
<set-property property="username" value="root" />
<set-property property="maxActive" value="10" />
<set-property property="minActive" value="2" />
<set-property property="maxIdle" value="6" />
<set-property property="maxWait" value="-1" />
</data-source>
</data-sources>
<!-- Form Beans -->
<form-beans>
<form-bean name="ReportCriteria" type="au.gov.vic.vwa.rme.form.ReportCriteriaForm" />
</form-beans>
<!-- Global Forwards -->
<global-forwards>
</global-forwards>
<!-- Action Mappings -->
<action-mappings>
<action path="/loadCriteria"
type="au.gov.vic.vwa.rme.action.Criteria"
validate="false">
<forward name="success" path="./criteria.jsp" />
<forward name="failure" path="./index.html" />
</action>
</action-mappings>
<!-- Message Resources -->
<message-resources parameter="rmeweb.resources.ApplicationResources"/>
<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>
.... Any ideas or suggestions to stop it causing the exception ?