This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can�t find Message Resources

 
Danilo Balarini
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I�m new to struts, just learning, but having problems. Every time i try to use the Message Resources, i get the same error.
I made an MessageResources.properties, MessageResources_pt.properties and MessageResources_pt_BR.properties, all the same

Here�s the struts config


Here�s my MessageResources (inside package examples)


And i call my test-message.jsp


But i always get this error:


All help is welcome
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your message properties files must be in the directory WEB-INF/classes/examples. Are they?
 
Danilo Balarini
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, they aren�t.

I�m using Eclipse, so it puts the message in the /build/classes/examples. Is that bad?

Edit: Anyway, now it�s working, thanks.
[ March 13, 2008: Message edited by: Danilo Balarini ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic