Hello Torgeir.
Are you trying to replace "test1" with "mi", or are you trying to match
"test1"?
To replace "test1" with "mi" with no optons, the regexp should look like
this:
s/test1/mi/
To match test1 and treat the match as case-insensitive and multi-line, use
this expression:
m/test1/mi
Hello Torgeir.
Are you trying to replace "test1" with "mi", or are you trying to match
"test1"?
To replace "test1" with "mi" with no optons, the regexp should look like
this:
s/test1/mi/
To match test1 and treat the match as case-insensitive and multi-line, use
this expression:
m/test1/mi
See the book: O'Reily "Java servlet programming" or "Web development with
JavaServer Pages" by D. Fields, M. Kolb.
Torgeir Veimo wrote:
> I'm about to create a small taglib that does the same as
> java.net.URLEncoder, eg. like
> text to be encoded.
>
> But do anyone of you know of any similar ta
Is this the same functionality provided by
HttpServletResponse.encodeURL()?
If so, the Struts html:link tag does this type of encoding. The
operative line of code is
results.append(response.encodeURL(BeanUtils.filter(hyperlink)));
The call to BeanUtils.filter is actually deprecated, and just ca
Because you are doing a substitution without a string to substitute.
s/test1/mi
^
substitution requires both a match and a string to substitute
s/test1/test2/mi
would work.
Torgeir Veimo wrote:
>
> Why do I get
>
> search.jsp [-1:-1] org/apache/oro/tex
I'm about to create a small taglib that does the same as
java.net.URLEncoder, eg. like
text to be encoded.
But do anyone of you know of any similar taglib that does the same, to
save me some work?
--
- Torgeir
I saw several problems with the JDBC taglib and poolman 1.4.1.
One was that PoolMan didn't promote smaller number fields to larger.
If you did a getLong(), the field in the db had to be a 32 bit int.
And I ran into one other bug in the JDBC example where iterating
through a result set failed with
Why do I get
search.jsp [-1:-1] org/apache/oro/text/regex/MalformedPatternException
Errors compiling search [LMod].
on the tag
s/test1/mi
This is beyond me.
--
- Torgeir
Has anyone had any luck using the JDBC tags with poolman?
< http://www.codestudio.com/ >
I had some trouble when I tried, but I'm developing under Resin, and
perhaps that was the problem.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-34
Hello.
Have any of you tried the Custom Tag Library Extension for UltraDev (CTLX)
that was posted on taglibs-dev? On March 5, Dan Mandell published the
message below. Although this extension isn't part of the Jakarta project
yet, I downloaded the extension at the URL provided and installed it. I'
Has anyone had any luck using the JDBC tags with poolman?
< http://www.codestudio.com/ >
I had some trouble when I tried, but I'm developing under Resin, and
perhaps that was the problem.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-34
11 matches
Mail list logo