A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
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]
I agree. Here's the link:
subject: How to know about MessageResources.properties file?
Tomcat Cannot Find The properties File
auto-deploying .properties files...how?
How to deal with errors
Invoking servlets from JSP's
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015