thanks much.  serves me right for using an outdated book.
thanks,
dean

----- Original Message ----- 
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, October 10, 2004 9:35 PM
Subject: Re: org.apache.struts.action.MESSAGE not found??


> Dean Hiller wrote the following on 10/10/2004 11:06 PM:
>
> > I have found out it appears struts is not loading my resource file in
time
> > for the properties to be read from it or something like that.  Does
anyone
> > have any ideas?  My struts-config.xml file has this in it....
> >   <servlet>
> >      <servlet-name>action</servlet-name>
> >   <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> >   <init-param>
> >      <param-name>config</param-name>
> >   <param-value>/WEB-INF/struts-config.xml</param-value>
> >   </init-param>
> >   <init-param>
> >      <param-name>application</param-name>
> >   <param-value>ApplicationResources</param-value>
> >   </init-param>
> >   <load-on-startup>1</load-on-startup>
> >   </servlet>
>
> That's your web.xml. The web.xml part for struts only needs
>
>
> <servlet-name>action</servlet-name>
>    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>    <load-on-startup>1</load-on-startup>
> </servlet>
>
> Then at the bottom of your struts-config you need your resources
definition:
>
> <message-resources parameter="ApplicationResources" null="false"/>
>
>
> The sample application with Struts shows all of this. Just follow their
> web.xml and struts-config examples.
>
> -- 
> Rick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to