Hi All,
The following two lines are in strutsconfig.xml
one for english and one or welsh language
<message-resources parameter="com.ips.ApplicationResources" null="false"/>
<message-resources parameter="com.ips.ApplicationResources_cy" key="welsh" null="false" />
in my
jsp
its for welsh
<label class="error" id="titleerror">
<bean:message bundle="welsh" key="errors.title.required" />
</label>
for english
<label class="error" id="titleerror">
<bean:message key="errors.title.required" />
</label>
i want to access the value of keyattribute of message-resource of struts-config.xml in my action class or the value of bundle attribute of bean:message tag in my action class?
can you suggest me the options?
Thanks
Rajesh