how can I test for sub-string matching like ?

2004-02-10 Thread Zsolt Koppany
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

Re: how can I test for sub-string matching like ?

2004-02-10 Thread Kris Schneider
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

RE: how can I test for sub-string matching like ?

2004-02-10 Thread Zsolt Koppany
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

RE: how can I test for sub-string matching like ?

2004-02-10 Thread Kris Schneider
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

stored procedures and database pooling

2004-02-10 Thread John MccLain
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]

Re: stored procedures and database pooling

2004-02-10 Thread Kris Schneider
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

Re: Problems with JSTL 1.1 and Tomcat 5 : UnresolvableException: $prefix:javax.servlet.include.query_string

2004-02-10 Thread Kris Schneider
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

RE: how can I test for sub-string matching like ?

2004-02-10 Thread Zsolt Koppany
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...