I'm using Tomcat 4.0.4b2 with JDK 1.4.0.

I have a small test application that I had working with 1.1b1.  I decided to
install the latest from CVS for struts and commons and work on building and
using that, in preparation for testing some minor Struts additions.

Without changing the application code, I changed the sets of jar files and tlds
built in the WAR to use the set that I built from the latest CVS.

When I run this newly built application, I get the following exception:

javax.servlet.jsp.JspException: Exception forwarding for name main: 
javax.servlet.ServletException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE
        at org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:180)
        at org.apache.jsp.index$jsp._jspService(index$jsp.java:77)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
   [more]

In my "struts-config.xml", I have the following element:

 <message-resources parameter="ApplicationResources"/>

In my WAR file, I have the following file:

  WEB-INF/classes/ApplicationResources_en.properties 

Note again that this was working in 1.1b1.

So, did I miss something, or is this likely a bug?  I didn't see any recent
mention of this problem in either list.

I tried changing the installed file to not have the locale suffix, but that had
no effect.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


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

Reply via email to