aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
An Unwanted Part of the XML Input File is Included in the XSL Transformation Result
Update Single value in a row
Not able to find the added record in table.
bean:message in bean:define tag
Composite foreign key causing "object is not an instance of declaring class"?