You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Manish Shah <ms...@mortgagehub.com> on 2002/12/12 00:23:45 UTC
global-exceptions parse error
It must be something really stupid but when is it not.
I am trying to use global exceptions but I keep getting this parse
error.
I have attached the struts-config here...please let me know
Thanks
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts Configuration 1.0//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
<struts-config>
<!-- ========== Data Sources Definitions
=================================== -->
<!--
Define your Struts data sources in a file called
struts-data-sources.xml and place
it in your merge directory.
-->
<!-- ========== Form Bean Definitions
=================================== -->
<form-beans>
<form-bean
name="bundleEJB.PMgr"
type="com.bdp.propertymgr.app.forms.BundleEJBPMgrForm"
/>
<form-bean
name="propertyEJB.PMgr"
type="com.bdp.propertymgr.app.forms.PropertyEJBPMgrForm"
/>
<form-bean
name="PMSearch.PMgr"
type="com.bdp.propertymgr.app.forms.PMSearchForm"
/>
<form-bean
name="PMUpload.PMgr"
type="com.bdp.propertymgr.app.forms.UploadForm"
/>
<!--
If you have non XDoclet forms, define them in a file called
struts-forms.xml and
place it in your merge directory.
-->
</form-beans>
<!-- ========== Global Exceptions Definitions
=================================== -->
<global-exceptions>
<exception
key="global.error.ServletException"
path="/failure.jsp"
scope="request"
type="javax.servlet.ServletException"/>
<exception
key="global.error.NullPointerException"
path="/failure.jsp"
scope="request"
type="java.lang.NullPointerException"/>
<exception
key="global.error.DelegateException"
path="/failure.jsp"
scope="request"
type="com.bdp.baseclasses.app.common.exceptions.DelegateException"/>
</global-exceptions>
<!-- ========== Global Forward Definitions
=================================== -->
<!--
Define your forwards in a file called global-forwards.xml and place
it in your merge directory.
-->
<!-- ========== Action Mapping Definitions
=================================== -->
<action-mappings>
<action
path="/propertyPipelineView"
type="com.bdp.propertymgr.app.action.PropertyPipelineAction"
name="PMgrPropertyPipelineView"
scope="request"
input="/bundlePipelineView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="success"
path="/propertyPipelineView.jsp"
redirect="false"
/>
</action>
<action
path="/preManageBundleAction"
type="com.bdp.propertymgr.app.action.PreManageBundleAction"
name="bundleEJB.PMgr"
scope="request"
input="/bundlePipelineView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="addBundle"
path="/bundlePreAddEditView.jsp"
redirect="false"
/>
<forward
name="editBundle"
path="/bundlePreAddEditView.jsp"
redirect="false"
/>
<forward
name="bundlelist_fail"
path="/do/bundlePipelineView"
redirect="false"
/>
<forward
name="bundlelist_pass"
path="/do/bundlePipelineView"
redirect="true"
/>
</action>
<action
path="/managePropertyAction"
type="com.bdp.propertymgr.app.action.ManagePropertyAction"
name="propertyEJB.PMgr"
scope="request"
input="/propertyPreAddEditView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="addProperty"
path="/do/propertyPipelineView"
redirect="true"
/>
<forward
name="editProperty"
path="/do/propertyPipelineView"
redirect="true"
/>
<forward
name="cloneProperty"
path="/do/propertyPipelineView"
redirect="true"
/>
<forward
name="back"
path="/propertyPreAddEditView.jsp"
redirect="false"
/>
</action>
<action
path="/searchPropertyAction"
type="com.bdp.propertymgr.app.action.SearchPropertyAction"
name="PMSearch.PMgr"
scope="request"
input="/propertyPipelineView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="success"
path="/propertyPipelineView.jsp"
redirect="false"
/>
</action>
<action
path="/preManagePropertyAction"
type="com.bdp.propertymgr.app.action.PreManagePropertyAction"
name="propertyEJB.PMgr"
scope="request"
input="/propertyPipelineView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="addProperty"
path="/propertyPreAddEditView.jsp"
redirect="false"
/>
<forward
name="editProperty"
path="/propertyPreAddEditView.jsp"
redirect="false"
/>
<forward
name="propertyList_pass"
path="/do/propertyPipelineView"
redirect="true"
/>
<forward
name="propertyList_fail"
path="/do/propertyPipelineView"
redirect="false"
/>
</action>
<action
path="/searchBundleAction"
type="com.bdp.propertymgr.app.action.SearchBundleAction"
name="PMSearch.PMgr"
scope="request"
input="/bundlePipelineView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="success"
path="/bundlePipelineView.jsp"
redirect="false"
/>
</action>
<action
path="/bundlePipelineView"
type="com.bdp.propertymgr.app.action.BundlePipelineAction"
name="PMgrBundlePipelineView"
scope="request"
input="/index.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="success"
path="/bundlePipelineView.jsp"
redirect="false"
/>
</action>
<action
path="/manageBundleAction"
type="com.bdp.propertymgr.app.action.ManageBundleAction"
name="bundleEJB.PMgr"
scope="request"
input="/bundlePreAddEditView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="addBundle"
path="/do/bundlePipelineView"
redirect="true"
/>
<forward
name="editBundle"
path="/do/bundlePipelineView"
redirect="true"
/>
<forward
name="back"
path="/bundlePreAddEditView.jsp"
redirect="false"
/>
</action>
<action
path="/propertyDetailView"
type="com.bdp.propertymgr.app.action.PropertyDetailAction"
name="PMgrPropertyDetailView"
scope="request"
input="/bundlePipelineView.jsp"
unknown="false"
validate="false"
>
<forward
name="failure"
path="/failure.jsp"
redirect="false"
/>
<forward
name="success"
path="/propertyDetailView.jsp"
redirect="false"
/>
</action>
<!-- If you have non XDoclet actions, define them in a file called
struts-actions.xml and place it in your merge directory. -->
</action-mappings>
<!-- Define your Struts controller in a file called
struts-controller.xml and place it in your merge directory. -->
<!-- Define your Struts message-resources in a file called
struts-message-resources.xml and place it in your merge directory. -->
<!-- Define your Struts plugins in a file called struts-plugins.xml
and place it in your merge directory. -->
</struts-config>