RE: regexp taglib; am i smoking?

2001-03-21 Thread Renick, Garrel
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

RE: regexp taglib; am i smoking?

2001-03-21 Thread Renick, Garrel
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

Re: URLEncoder taglib

2001-03-21 Thread Maya Muchnik
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

Re: URLEncoder taglib

2001-03-21 Thread Ted Husted
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

Re: regexp taglib; am i smoking?

2001-03-21 Thread Glenn Nielsen
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

URLEncoder taglib

2001-03-21 Thread Torgeir Veimo
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

Re: Newbie problems with JDBC taglib

2001-03-21 Thread Glenn Nielsen
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

regexp taglib; am i smoking?

2001-03-21 Thread Torgeir Veimo
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

Re: Newbie problems with JDBC taglib

2001-03-21 Thread Ted Husted
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

Dreamweaver UltraDev Extension for Custom Taglibs

2001-03-21 Thread Renick, Garrel
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'

Re: Newbie problems with JDBC taglib

2001-03-21 Thread Ted Husted
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