> >>How do i do the following portName.length() inside test : > >><c:set var="portName" value="TEST" /> > >><c:if test="${ portName.length() > 15}"> <================ > >> > >></c:if> > > > > > > If you can use JSTL1.1, you can use the fn: Function-Library > > to query the length of properties > > > > http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html > > Hi Yann, > can you give a quick example of the use of this function library, and > perhaps the taglib declaration. > > I couldn't find anything in the spec.
Here's a good summary of the fn: library including an example using fn:length: http://java.sun.com/webservices/docs/1.3/tutorial/doc/JSTL8.html#wp84680 HTH, Yann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]