This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes Find length Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JSP
Bookmark "Find length" Watch "Find length" New topic
Author

Find length

meena latha
Ranch Hand

Joined: Jan 24, 2005
Posts: 219
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

Joined: Jan 10, 2002
Posts: 62101
    
  67

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Find length