> -----Original Message-----
> From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 17, 2006 11:34 AM
> To: Struts Users Mailing List
> Subject: Re: Struts error handling
>
>
> On 3/17/06, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote:
> > > Do you have message resources configured in your
> struts-config.xml?
> > >
> > > <message-resource parameter="MyApplicationResources" />
> >
> > Never used that tag before. I put it in, no difference.
>
> Well you need to use it - looks like thats where your problem
> is - can't find the message resources. In Struts 1.1 messages
> resources defined in the web.xml under "application" was
> deprecated and removed in Struts 1.2.x (see the <init-param>
> section in the upgrade notes:
>
> http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
>
> If it didn't make a difference check your logs - maybe you
> didn't configure it correctly.
>
> Can you post your srtuts-config showing this entry? Also have
> you deployed the message resources to the correct place?
@[EMAIL PROTECTED]&(*!!! I read the release notes on the web site - didn't say
a word
about that. I'm not getting any error messages when I deploy the app.
freqs.properties is in /WEB-INF/classes. Here's struts-config.xml:
<?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>
<!-- ========== Form Bean Definitions
=================================== -->
<form-beans>
<form-bean
name="ListBean" type="gov.bls.idcf.freqs.struts.ListBean">
</form-bean>
<form-bean
name="TabBean" type="gov.bls.idcf.freqs.struts.TabBean">
</form-bean>
</form-beans>
<!-- ========== Global Forward Definitions
============================== -->
<global-forwards>
<forward name="Home" path="/index.jsp" redirect="false"/>
<forward name="SystemFailure" path="/content/systemError.jsp"
redirect="false"/>
<forward name="SessionTimeOut" path="/content/sessionTimeout.jsp"
redirect="false"/>
<forward name="InvalidPageRquest"
path="/content/invalidPageRquest.jsp" redirect="false"/>
<forward name="PopupOpenError" path="/content/PopupOpenError.jsp"
redirect="false"/>
<forward name="ClosePopup" path="/content/ClosePopup.jsp"
redirect="false"/>
<forward name="Finish" path="/content/Finish.jsp"
redirect="false"/>
</global-forwards>
<!-- ========== Action Mapping Definitions
============================== -->
<action-mappings>
<action path="/env"
type="gov.bls.idcf.freqs.struts.PickDBAction"
name="ListBean"
scope="request">
<forward name="collect" path="/index.jsp" redirect="false"/>
</action>
<action path="/index"
type="gov.bls.idcf.freqs.struts.HomeAction"
name="ListBean"
input="/index.jsp"
scope="request">
<forward name="collect" path="/index.jsp" redirect="false"/>
</action>
<action path="/gettable"
type="gov.bls.idcf.freqs.struts.GetTable"
name="ListBean"
input="/index.jsp"
scope="request">
<forward name="collect" path="/index.jsp" redirect="false"/>
</action>
<action path="/getfield"
type="gov.bls.idcf.freqs.struts.GetField"
name="ListBean"
input="/index.jsp"
scope="request">
<forward name="collect" path="/index.jsp" redirect="false"/>
</action>
<action path="/tabulate"
type="gov.bls.idcf.freqs.struts.Tabulate"
name="ListBean"
scope="request"
input="/index.jsp">
<forward name="tabpage" path="/content/tabpage.jsp"
redirect="false"/>
</action>
</action-mappings>
<message_resources parameter="freqs" null="false"/>
</struts-config>
--
Tim Slattery
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]