D
Devendra
Hi all ,
I want to use constant string in the resource file.
I am using JSTL i18N tag library.
Suppose my resource bundle is as follows
resource_english.properties
key1=Some message XYZ
key2=Some Other message XYZ
Now I want to use same XYZ string under some constant. Something as
bellow
KeyConstant=XYZ
key1=Some message + KeyConstant
key2=Some Other message + KeyConstant
I know + sign has no meaning here.
Does any body know how to achieve this?
(I know pros and cons of this very well.
And I also don't want to create composite message something like :
Results {0}-{1} of {2} )
This is really a project need.
I want to use constant string in the resource file.
I am using JSTL i18N tag library.
Suppose my resource bundle is as follows
resource_english.properties
key1=Some message XYZ
key2=Some Other message XYZ
Now I want to use same XYZ string under some constant. Something as
bellow
KeyConstant=XYZ
key1=Some message + KeyConstant
key2=Some Other message + KeyConstant
I know + sign has no meaning here.
Does any body know how to achieve this?
(I know pros and cons of this very well.
And I also don't want to create composite message something like :
Results {0}-{1} of {2} )
This is really a project need.