struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bush <>
Subject Re: resolving message resources
Date Wed, 18 Dec 2002 01:07:16 GMT
Actually ... seeing as how the ActionServlet places a reference to 
itself in scope, tags could actually determine if that is the culprit. 
 As I recall though, the docs strongly suggest (if not require) that the 
servlet me marked as "load on startup".

... 'course, who actually *reads* the docs?

Joe Barefoot wrote:

>This has come up so many times that the message should just be changed to:
>"Cannot find message resources under key org.apache.struts.action.MESSAGE, 
>probably because your ActionServlet isn't initialized.  Have a nice day."
>>-----Original Message-----
>>From: John.E.Gregg@mortgage.wellsFargo.COM
>>Sent: Tuesday, December 17, 2002 3:31 PM
>>Subject: resolving message resources
>>Hi all,
>>This is more of a note for posterity than anything else.  
>>Being a newby to
>>Struts, I was frustrated for a while by this message: "Cannot 
>>find message
>>resources under key org.apache.struts.action.MESSAGE."  I 
>>found just enough
>>in the archives and docs to know what it was but couldn't 
>>understand why I
>>was getting it.  In my particular case, I was accessing a jsp 
>>that used the
>>struts-bean taglib before the ActionServlet had been initialized.  My
>>resource bundle hadn't been read at that point, hence the 
>>error message.
>>Adding the good ole "load-at-startup" option to web.xml 
>>solved the problem.
>>Consider this a bug if you want, or just be aware of it as a potential
>>thanks for listening
>>john gregg
>>Wells Fargo Service Corporation
>>Minneapolis, MN
Eddie Bush

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message