I want index of substring from a string . I would like to acheive this using jsp tags. I found jakarta taglib countMatches tag which would print no of times substring is present in the string.Rather than printing I want to capture the output from this jsp tag into a variable .This tag also provides this ability by declaring var attribute which will capture the result of this tag. My problem is I am unable to declare a var attribute in this jsp tag or I doing somethig wrong with the syntax of this tag.Can somebody guide me the proper syntax for using this tag. <str:countMatches substring="world">Hello world programs are rife in this world due to their worldy view of how to program a world of code</str:countMatches> thanks & regards
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]