Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to know about MessageResources.properties file?
Joined: Sep 30, 2007
Oct 05, 2009 05:11:31
How can I be assured that my application is getting MessageResources.properties file residing in WEB-INF directory from an Action class?
Actually in my application MessageResources.properties file is under WEB-INF directory, and in my-struts-config.xml file it configured as below.
<message-resources parameter="MessageResources.properties" null="false"/>
But I think application is not getting it from Action class.
Thanks in Advance,
Joined: Sep 29, 2008
Oct 05, 2009 06:20:41
Put a known value in the resource file and display it?
Joined: Feb 19, 2008
Oct 05, 2009 06:33:02
<logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application"> <font color="red"> ERROR: Application resources not loaded -- check servlet container logs for error messages. </font> </logic:notPresent>
[Freelance Web Designer]
[and "Rohan" is part of my surname]
Don't get me started about those stupid
subject: How to know about MessageResources.properties file?
Tomcat Cannot Find The properties File
auto-deploying .properties files...how?
Invoking servlets from JSP's
How to deal with errors
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013