Hi,
how can I test whether a substring occurs in a string using c:if
test=
I mean something like:
String str = Hello;
if (str.indexOf(el)) {
}
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
If you're using JSP 1.2, I guess you could combine the String taglib with JSTL:
str:countMatches var=count substring=elHello/str:countMatches
c:if test=${count gt 0}
...
/c:if
If you're using JSP 2.0, you use the JSTL 1.1 function:
c:if test=${fn:contains(stringVar, substringVar)}
...
c:if
Hi,
I use tomcat-4.1.29.
I don't know the str tag library. Where can I get more info about that?
Zsolt
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 1:36 PM
To: Tag Libraries Users List
Subject: Re: how can I test for sub-string
Well, seeing as how this is a mailing list for Jakarta Taglibs...
hinthttp://jakarta.apache.org/taglibs/doc/string-doc/intro.html/hint
Quoting Zsolt Koppany [EMAIL PROTECTED]:
Hi,
I use tomcat-4.1.29.
I don't know the str tag library. Where can I get more info about that?
Zsolt
Are there any taglibs out there for stored procedures and database pooling???
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Not exactly sure what you mean by database pooling, but:
http://www.google.com/search?q=stored+procedure*+taglib
I'm pretty sure Jakarta's DBTags taglib does not support stored procedures. DB
taglibs may also be provided by your DB supplier. Sorry, I don't have any
specific recommendations. Of
Okay, looks like another TC bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26838
Quoting Aadi Deshpande [EMAIL PROTECTED]:
The problem manifests itself when you have a c:import/c:import with
a c:param that in turn has a c:import/
i.e. a c:import with parameters,in which the
Thank you.
Zsolt
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 4:53 PM
To: Tag Libraries Users List
Subject: RE: how can I test for sub-string matching like ?
Well, seeing as how this is a mailing list for Jakarta Taglibs...