RE: How to find length of a string in a bean

2005-11-18 Thread Vishal Dalal
try int lenth = beanId.StringName.length(); -Original Message- From: rahul [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 2:19 PM To: user@struts.apache.org Subject: How to find length of a string in a bean Hi All, I have got a bean in my session scope. I want to find the

Re: How to find length of a string in a bean

2005-11-18 Thread Rahul Akolkar
On 11/18/05, rahul [EMAIL PROTECTED] wrote: Hi All, I have got a bean in my session scope. I want to find the length of a string which is a member variable of that bean. snip/ Try JSTL fn:length(). -Rahul I tried bean:size but this works only with collection. Any help?