Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can�t find Message Resources

 
Danilo Balarini
Greenhorn
Posts: 2
  • 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
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic