• 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

access AppResource.properties in JSP

 
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Friends
Is there any way to access messages in <b>ApplctionResource.properties</b> in JSP....!!!
yes..i can use <bean:message key ="some key to soome mesage" />
But my problem is i need to get this key into some scritping varible ...
Can we do that?? pllease guide me on this.
[ December 01, 2003: Message edited by: manasa teja ]
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out the MessageResources class in org.apache.struts.util. I think that the massively overloaded getMessage method might help you out.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you can solve this using Struts-el :
http://jakarta.apache.org/struts/userGuide/building_view.html#struts-el
3.4.6 The Struts-EL Tag Library
I never used it myself but I red about it.
 
manasa teja
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Nathalie Keymeulen:
I think you can solve this using Struts-el :
http://jakarta.apache.org/struts/userGuide/building_view.html#struts-el
3.4.6 The Struts-EL Tag Library
I never used it myself but I red about it.


Thanks Nathalie!!
But my problem is ,I want to get value from appresources.properties into a scripting varibale in JSP..
 
manasa teja
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any suggestions on this...
 
Onion rings are vegetable donuts. Taste this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic