A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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]
subject: How to know about MessageResources.properties file?
auto-deploying .properties files...how?
Invoking servlets from JSP's
Tomcat Cannot Find The properties File
How to deal with errors
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014