| Author |
access AppResource.properties in JSP
|
manasa teja
Ranch Hand
Joined: May 27, 2002
Posts: 325
|
|
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 ]
|
MT
|
 |
Eric Sexton
Ranch Hand
Joined: Sep 12, 2003
Posts: 133
|
|
|
Check out the MessageResources class in org.apache.struts.util. I think that the massively overloaded getMessage method might help you out.
|
 |
Nathalie Keymeulen
Greenhorn
Joined: Dec 02, 2003
Posts: 5
|
|
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
Joined: May 27, 2002
Posts: 325
|
|
Thanks Nathalie!! But my problem is ,I want to get value from appresources.properties into a scripting varibale in JSP..
|
 |
manasa teja
Ranch Hand
Joined: May 27, 2002
Posts: 325
|
|
|
Any suggestions on this...
|
 |
 |
|
|
subject: access AppResource.properties in JSP
|
|
|