wood burning stoves 2.0*
The moose likes JSP and the fly likes Assigning a Value  in to String variable using JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Assigning a Value  in to String variable using JSTL" Watch "Assigning a Value  in to String variable using JSTL" New topic
Author

Assigning a Value in to String variable using JSTL

Latha Prudhivi
Greenhorn

Joined: Apr 24, 2003
Posts: 1
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


pml
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Assigning a Value in to String variable using JSTL