• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Strange issue with struts-config.xml

 
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I was editing the <message-resources/> tag in struts-config.xml. I put the following lines...


<message-resources parameter="beans.MessageResources"/>

which I think is suppose to work! But it didn't... So I replaced it with

<message-resources parameter="beans.MessageResources"/>

and it worked! What the... What do you think was the problem? I'm editing in Eclipse IDE...
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what did you change?
<message-resources parameter="beans.MessageResources"/>
<message-resources parameter="beans.MessageResources"/>

both lines you posted are same.
 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oooops very very very sorry!

I changed it to

<message-resources parameter="beans/MessageResources"/>
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is "beans" a directory under WEB-INF/classes in your case?

Originally posted by Timothy Sam:
oooops very very very sorry!

I changed it to

<message-resources parameter="beans/MessageResources"/>

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes it is, at least when it's deployed. It works again by the way... This is very strange... Thanks!
reply
    Bookmark Topic Watch Topic
  • New Topic