• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

can�t find Message Resources

 
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
 
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 ]
 
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic