struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Barefoot" <Joe.Baref...@motiva.com>
Subject RE: resolving message resources
Date Tue, 17 Dec 2002 23:42:09 GMT
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
> [mailto:John.E.Gregg@mortgage.wellsFargo.COM]
> Sent: Tuesday, December 17, 2002 3:31 PM
> To: struts-user@jakarta.apache.org
> 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
> pitfall.
> 
> thanks for listening
> 
> john gregg
> Wells Fargo Service Corporation
> Minneapolis, MN
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message