Hi folks Here iam facing a problem while finding the length of the particular bean value, here is the code snippet....
iam not able to do this can you please let me know how can i solve it.. is there any alternative to find the length of the bean value....! and one more thing iam getting the bean value like <code> <bean:write name="historyTable" property="comment"/> </code> how can i find the length of this bean value Thanks in advance
[ April 04, 2008: Message edited by: Naresh Talluri ]
I think using an el-function just as you are doing is a pretty reasonable way to accomplish that, since you can't directly access length of a String in el. It should work if the tld and the taglib directive are correctly defined and bound.
Here iam getting error like Validation error messages from TagLibraryValidator for c EL functions are not supported. and iam putting jars like jstl,standard.jar's inside lib folder...... i configured in web.xml also like .......
[ April 04, 2008: Message edited by: Naresh Talluri ] [ April 04, 2008: Message edited by: Naresh Talluri ]
Why are the TLD files there? Get rid of them and the web.xml entries. They are unnecessary and could get in the way. The TLD files exist in the jar files and the container will find them there. Have you followed the instructions in the JSP FAQ for setting up the JSTL properly?