• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Find length

 
meena latha
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all.
I am stuck in the middle of the program.
I need to check the length of the string using jstl tag.
I am using jstl 1.0
Is there any way to do this.
I have my string value set in the VO object.

Thanks in advance
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you are using JSTL 1.0 I will assume that you are using a JSP 1.2 or earlier container. In that case, then no. There is no provision in the version of the EL provided by the JSTL 1.0 to find the length of q string or anything else.

Under JSP 2.0, the EL is augmented with functions, and the JSTL 1.1 provides a length function.
[ November 11, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic