This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If you're using the default bundle, it is not necessary to specify a bundle attribute in a <bean:message> tag. Most likely the problem is that you haven't copied your MessageResources.properties file to the WEB-INF/classes/struts/example directory. [ January 18, 2007: Message edited by: Merrill Higginson ]
I have the messagesresources.properties files under the required folder.Dont know why mu life is not easy with struts
Joined: Feb 15, 2005
I have the messagesresources.properties files under the required folder
If you have a file named "messagesresources.properties" under the required folder, then that's the problem. What you need is a file named "MessageResources.properties", since that's what you declared in your struts-config.xml file.
If the file is named correctly, and you were just careless in your post, then I suspect that many of your problems with Struts stem from mixing artifacts from different versions. That's why I've been trying to convince you to re-download Struts and start with a fresh installation that you know is consistent. [ January 18, 2007: Message edited by: Merrill Higginson ]