Hi Bernhard,

I am editing all source in a separate directory and then use the ant war
task to build the war file. If I do a "jar tvf my.war" then I can see the
ApplicationResources.properties is in the classes directory.

Regards

Jim
----- Original Message -----
From: "Hirschmann, Bernhard" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 1:16 PM
Subject: AW: Application Resources problems



Hey Jim,

I'm not sure if this helps, but maybe something is mixed up with your files,
when you edit the
"myApp/Web-inf/classes/org/comp/ApplicationResources.properties"

You shouldn't use the "classes" path, but the "src" path for editing.
Usually your IDE will copy the ApplicationResources in the classes path
during compilation.
Maybe this is the reason for the strange behavior.

Regards,
Bernhard

-----Urspr�ngliche Nachricht-----
Von: Jim Collins [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 22. November 2002 13:54
An: Struts Users Mailing List
Betreff: 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]>



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

Reply via email to