Hi Eddie,

I am using Struts 1.0.2, so I belive that I do have the configuration file 
correct. When you say "top level classes directory" do you mean 
$TOMCAT_HOME/common/classes or $TOMCAT_HOME/webapps/appname/WEB_INF/classes 
??

Right now it is in the second one..

-Sam

-----Original Message-----
From:   Eddie Bush [SMTP:[EMAIL PROTECTED]]
Sent:   October 7, 2002 11:55 PM
To:     Struts Users Mailing List
Subject:        Re: Problem reading ApplicationResources.properties..

Eddie Bush wrote:

> Are you running Struts version 1.0 or Struts version 1.1 bx?  In 1.1,
> you specify your resources as you have noted - in 1.1 you specify them
> differently.  An example would be:

I'm sorry - that should read:  "In 1.0, you specify your resources as
you have noted ..."

>  <message-resources key="org.apache.struts.action.MESSAGE"
>                     parameter="com.foo.config.ModuleResources"/>
>
> ... or, for your exact case:
>
>  <message-resources key="org.apache.struts.action.MESSAGE"
>                     parameter="EprojectsResources"/>
>
> That should be after the action-mappings section.  If you're not using
> 1.1 I'm not quite sure what to tell you - I believe you have it listed
> correctly (assuming you have the properties file in your top-level
> classes directory)
>
> [EMAIL PROTECTED] wrote:
>
>> Hello all,
>>
>> I am having some trouble with my struts application.. It doesn't seem
>> to be
>> reading the ApplicationResources.properties file and when my Actions
>> generate
>> errors all I get from the output of my <html:errors /> tag is "null
>> null".
>
Sorry for any confusion my inability to type caused!

--
Eddie Bush




--
To unsubscribe, e-mail: 
  <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to