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
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
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
3 matches
Mail list logo