Karl,
Using the regexp tag library I think it is still at version 1.0.
Because INSERT into tablename (field1) values ('I CAN'T DO THIS')
generates an error in SQL Server.
If you use a PreparedStatement, then you can send any string to the
statement object and it will do it's own escaping.
-chris
04 10:01 PM
To: Tomcat Users List
Subject: RE: RegExp issues with Tomcat 5
Either. I'll look at the java.util.regex one. I posted at taglib-user earlier and
still waiting for response. Thanks again.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Marc
Either. I'll look at the java.util.regex one. I posted at taglib-user earlier and
still waiting for response. Thanks again.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 2:52 PM
To: Tomcat Users List
Subject: RE: RegExp issues with T
Hi,
>Is there a regexp library people recommend? I saw there is one on the
>Jakarta site.
Library in general or JSP tag library specifically?
I've been fine with java.util.regex, which I think requires JDK 1.4. If
you must use a JDK older than 1.4, use jakarta-regexp (which tomcat
uses).
For
Is there a regexp library people recommend? I saw there is one on the Jakarta site.
Karl
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 1:14 PM
To: Tomcat Users List
Subject: RE: RegExp issues with Tomcat 5
Hi,
>Using the regexp
Thanks a lot. I will check into it further.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 1:14 PM
To: Tomcat Users List
Subject: RE: RegExp issues with Tomcat 5
Hi,
>Using the regexp tag library I think it is still at version
Hi,
>Using the regexp tag library I think it is still at version 1.0.
You mean http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html?
I wouldn't be surprised if this taglib didn't work on tomcat 5. It's
designed and tested for a JSP 1.1/1.2 spec container, like tomcat 4.
Tomcat 5 as you
004 12:03 PM
To: Tomcat Users List
Subject: Re: RegExp issues with Tomcat 5
Karl,
> We upgraded tomcat running one of our applications from 4 to 5 this
past =
> Friday, March 27th. Since, one of our regular expressions is not =
> functioning properly. Here is the expression:
>
> s
purse" is being brought into the application as "Mary$1s purse".
It is like it isn't interpreting the meaning of the $1 anymore.
Karl
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 11:57 AM
To: Tomcat Users List
Subject: RE
Karl,
We upgraded tomcat running one of our applications from 4 to 5 this past =
Friday, March 27th. Since, one of our regular expressions is not =
functioning properly. Here is the expression:
s/(\\|')/\\$1/g
Instead of escaping the apostrophe with another apostrophe for SQL =
purposes, it is re
Hi,
>We upgraded tomcat running one of our applications from 4 to 5 this
past =
>Friday, March 27th. Since, one of our regular expressions is not =
>functioning properly. Here is the expression:
>
>s/(\\|')/\\$1/g
>
>Instead of escaping the apostrophe with another apostrophe for SQL =
>purposes,
We upgraded tomcat running one of our applications from 4 to 5 this past =
Friday, March 27th. Since, one of our regular expressions is not =
functioning properly. Here is the expression:
s/(\\|')/\\$1/g
Instead of escaping the apostrophe with another apostrophe for SQL =
purposes, it is replacin
12 matches
Mail list logo