I'm haunted too.  I changed a hibernate class,
had to fix a few action classes to work with it, 
and suddenly my validation framework (hell, my 
whole application, cannot see my message resources,
the struts-config.xml (only one, no modules),
validation.xml, and JSP are unchanged.

My message resources line in my struts-config.xml
is below and there are no errors in Tomcat about
anything being out of place or the wrong syntax.
<message-resources parameter="resources.application"/>

This is too freaky.  Does Anyone have any 
suggestions where to look next?

Regards,
David

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 5:16 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: ApplicationResources.properties


Chen-
Here is my 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>
<message-resources
    parameter="ApplicationResources"
    null="false" />
</struts-config>

Anything amiss?
Thanks,
-M
----- Original Message ----- 
From: "Chen, Gin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 4:57 PM
Subject: RE: ApplicationResources.properties


> Have u tried the Struts config style?
> I noticed that you are using the old style of init-param
> Look at my earlier response.
> -Tim
> 
> -----Original Message-----
> From: Martin Gainty [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 24, 2003 4:54 PM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: ApplicationResources.properties
> 
> 
> Its in WEB-INF/classes
> Tomcat doesnt see it
> 
> Thanks anyway,
> -Martin
> ----- Original Message ----- 
> From: "Wendy Smoak" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 24, 2003 3:27 PM
> Subject: RE: ApplicationResources.properties
> 
> 
> Martin wrote: 
> > What mechanism does struts use to find the
> ApplicationResources.properties
> > file? All attempts by Tomcat to locate the file result in failure
> > <init-param>
> >   <param-name>application</param-name>
> >   <param-value>ApplicationResources</param-value>
> > </init-param>
> 
> Where did you put the file?  With the config above, try putting it
> directly in in WEB-INF/classes.  As Navjot noted, the file needs to be
> visible on the classpath.
> 
> -- 
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University, PA, IRM
> 
> ---------------------------------------------------------------------
> 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]
> 
> ---------------------------------------------------------------------
> 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]


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

Reply via email to