I removed the key in the struts_config. But still the result is the
same.
My struts-config looks like this:
--------------------------------------
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd">
<struts-config>
<message-resources
parameter="ApplicationResources"
null="false" />
</struts-config>
----------------------------------
My ApplicationResources.properties is in WEB-INF/classes directory. I
have also
Copied it to WEB-INF folder. But still it does not pick it up.
I also tried downloaded xerces.jar to WEB-INF/lib, for I read elsewhere
that it could be a xml parser issue. This does not help too.
Any suggestions.
Thanks
Mukund
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 4:20 PM
To: Struts Users Mailing List
Subject: RE: Tomcat 4.1.29 & Struts
> Is anyone working with Struts on Tomcat 4.1.29?
> If yes, can you provide me some inputs on the installation. I'm
> getting org.apache.jasper.JasperException: Cannot find message
> resources under key org.apache.struts.action.MESSAGE, when executing
> <bean:message key="index.title"/> in the jsp.
I'm using Tomcat 4.1.29 and a recent nightly build of Struts. This is a
common problem and usually happens when Struts can't find your
ApplicationResources [or whatever you named it] file.
> <message-resources
> parameter="ApplicationResources"
> key="org.apache.struts.action.MESSAGE" null="false" />
Where is your ApplicationResources file located? (Should be in
WEB-INF/classes, named exactly ApplicationResources.properties, with
this setup.)
I don't have 'key' specified in my <message-resources> tag. Did you put
that in for a reason?
I have: <message-resources parameter="ApplicationResources"
null="false" />
I note that struts-example does use 'key', but in this fashion:
<message-resources
parameter="org.apache.struts.webapp.example.ApplicationResources" />
<message-resources
parameter="org.apache.struts.webapp.example.AlternateApplicationResource
s" key="alternate" />
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
---------------------------------------------------------------------
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]