Link to home
Create AccountLog in
Avatar of Ravi Kiran Reddy Katkuri
Ravi Kiran Reddy KatkuriFlag for Australia

asked on

Setting baseName for resource bundle at one place in JSTL

Hi Iam using JSTL Format tag in my project. The following is the code snippet.
       <fmt:bundle basename="keystone/formLabels">
                             <fmt:message key="msg1.text"/>

so where iam using this <fmt:message key="msg1.txt"> iam forced to set the resource bundle base name. Iam looking for a solution where we set the base name for resouce bundle at one place and use fmt:message multiple times. Is this achievable. If possible give some example.

Thanks & Regards,

Avatar of Manish
Flag of India image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account