• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Assigning a Value in to String variable using JSTL

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have one property file with the name _en.properties.
Basically i need to find the length of the string which is defined in property file. and use the length inside some scriplet code.
Here is an example :-
<fmt_rt:message key="labelAuthorization"/> this is teh key variable to get the value
is there any way i can declare the variable and assign it using taglibs and use the same for next internal purposes say for eg the code will be like this
<% String auth =""; %>
<fmt_rt:set var="auth" value=value= <fmt_rt:message key="labelAuthorization"/> />
then i am using the auth to find out the length of the given string. but it is not working properly.....
I will appreciate if you look into this issue and gaive me some suggestion regarding the same..........
Thanks
Prudhivi
 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic