Hello,
I have several questions regarding JSTL:
1) When using fmt tag, how to use multiple bundles on
the same page?
I tried:
<fmt:setBundle basename="bundle1" var="myBundle1"/>
<fmt:setBundle basename="bundle2" var="myBundle2"/>
<fmt:message key="text1" bundle="${myBundle1}"/>
<fmt:message key="text2" bundle="${myBundle2}"/>
It gives the correct value of text2, and an error
message for text1, i.e.
??text1??
If I set bundle1 after bundle2, I got the correct
value for text2, but not
for text1.
2) When using c:forTokens, is there a way to find out
that the current token
is the last token?
3) Is it possible to get the current locale by using
fmt tag?
Thanks in advance.
Harod Ruthgar
- when the horn doesn't work, watch out for the fingers
http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]