hi jim,

i think this is not a problem of your resourcefile.
i think you try to access to a bean, either in an action or in jsp, that does not 
exist.

-----Original Message-----
From: Jim Collins [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 22. November 2002 13:54
To: Struts Users Mailing List
Subject: Application Resources problems


Hi,

I am pulling my hair out with this problem. I have my resources file in the
following directory:

myApp/Web-inf/classes/org/comp/ApplicationResources.properties

And in the web.xml file I have the following entry:

<init-param>
      <param-name>application</param-name>
      <param-value>org.comp.ApplicationResources</param-value>
  </init-param>

When I goto my startup jsp page which has a bean:message tag I get the
following error:

org.apache.jasper.JasperException: Cannot find bean namespace in scope null
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)

If I change the entry in the web.xml file to:

<init-param>
      <param-name>application</param-name>
      <param-value>org.comp.ApplicationResources.properties</param-value>
  </init-param>

I get a different error message saying:

org.apache.jasper.JasperException: Missing message for key app.title

I know for a fact that there is a message for this key in the resources
file. This problem is driving me crazy any help would be appreciated.

Thanks

Jim.





--
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