Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Assigning a Value in to String variable using JSTL  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one property file with the name
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..........
They weren't very bright, but they were very, very big. Ad contrast:
ScroogeXHTML 7.2 - RTF to HTML5 / XHTML converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!