Thank you Merrill
Originally posted by Merrill Higginson:
String mstrName = getResources(request).getMessage(getLocale(request), "PrpName");
Both of the aboe code snippets retrieved the contents of the message when I tried them for a message key I know exists in my ApplicationResources.properties file.
I think my resource bundle file is not loading
but when i use the Tag lib using the following call I can get the resource bundle file.
pageContext.setAttribute(resourceKey, resourceBundle, PageContext.APPLICATION_SCOPE);
Is there any way to set the resourcekey and bundlefile name so that I can get these two things in my action class.
I am thining If I can set the request.setAttribute()
Please comment!!!11
[ May 01, 2006: Message edited by: Santosh Maskar ]