Re: [OT] jakarta taglibg countMatches syntax

2005-07-29 Thread Laurie Harper
temp temp wrote: I wantindex 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

Re: jakarta taglibg countMatches syntax

2005-07-29 Thread Ed Griebel
The below worked for me. If you are getting output, make sure that you are including the taglib and the prefix you are using is the same ("str" in your case, but "string" for me) E.g., <%@ taglib prefix="string" uri="http://jakarta.apache.org/taglibs/string-1.0.1"; %> Hello world

jakarta taglibg countMatches syntax

2005-07-29 Thread temp temp
I wantindex 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