Re: [Digester]how to debug in degister

2004-09-07 Thread Aarti Parikh
setLogger ( LogFactory.getLog(Digester.class )) Set the log level in log4j.properties file to debug in order to see the debug statements On Tue, 7 Sep 2004 17:42:37 +0800 (CST), Gao Di [EMAIL PROTECTED] wrote: i find the setlogger() and getlogger() method in digester,but i have never used any

escape characters with org.apache.commons.lang.StringUtils

2004-09-07 Thread Harrie Hazewinkel
HI all, I would like to replace the substring \r\n (consisting of the _4_ characters; '\' 'r' '\' 'n') in a string. I use the replace method of org.apache.commons.lang.StringUtils, but I am not sure if I 'escape' it correctly. For example, string line1\r\nline2\r\n should become

[HttpClient] How to use HttpClient with Form-based Authentication?

2004-09-07 Thread rportan
Hi, Can HttpClient be used with Form-based Authentication? If yes can I have a code example? Thank you

RE: [HttpClient] How to use HttpClient with Form-based Authentication?

2004-09-07 Thread olegk
Hope this one will do http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/FormLoginDemo.java?view=markup Oleg -- Original Message -- Reply-To: Jakarta Commons Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [HttpClient] How to use HttpClient with Form-based

Re: escape characters with org.apache.commons.lang.StringUtils

2004-09-07 Thread Michael McGrady
Harrie Hazewinkel wrote: HI all, For example, string line1\r\nline2\r\n should become line1=0D=0A=line2=0D=0A=. Use the replaceAll(String,String) method in String. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Jelly and a new beta release

2004-09-07 Thread S Schrem
[x] -1 - No, don't release! Here's why I've been developing with Jelly b3 (in isolation) for a while and have encountered and fixed various problems. These problems occur in the core implementation, core tags, Swing Tags, etc. I admit that I have not checked to see if these have been resolved

Re: digester: can SetPropertyRule warn on not found properties?

2004-09-07 Thread Gabriele Carcassi
Hi Simon and Robert, Thanks for the answers. I had a look at the source and it seems that in dev an exception is thrown: http://jakarta.apache.org/commons/beanutils/xref/org/apache/commons/beanutils/BeanUtilsBean.html#1013 but it doesn't seem to block the Digester processing... anyway, I don't

Re: Jelly and a new beta release

2004-09-07 Thread Dion Gillard
On Tue, 7 Sep 2004 09:29:29 -0700 (PDT), S Schrem [EMAIL PROTECTED] wrote: [x] -1 - No, don't release! Here's why I've been developing with Jelly b3 (in isolation) for a while and have encountered and fixed various problems. These problems occur in the core implementation, core tags,

Re: Flush by net.ftp.FTPClient.retrieveFile(String, OutputStream)

2004-09-07 Thread Daniel F. Savarese
In message [EMAIL PROTECTED], Marco Jacob writes: FTPClient.retrieveFile(String, OutputStream) flushes the OutputStream after each time it calls write(byte[], int, int)= =2E ... I think, FTPClient.retrieveFile(String, OutputStream) should never flush or close() the given OutputStream. The

Re: Jelly and a new beta release

2004-09-07 Thread Paul Libbrecht
Pfffiou... that's not a small buglist. Dear S. Schrem, I think releasing a beta would actually have prevented most of these bugs you encounter to have occurred as you would have taken the beta. I think we should consider your report as a +1! Anyways... My [+1] btw. Many of the bugs you seem to

Re: [Digester]how to debug in degister

2004-09-07 Thread Reid Pinchback
Just to add my two cents to the other responses, Digester only uses two logging categories, ...Digester and ...Digester.sax. That means that you can't use the usual Log4J config hacks of tweaking category priorities to reduce noise. You'll want to make effective use of all the Log4J options,

Re: [Digester]how to debug in degister

2004-09-07 Thread Gao Di
do u mean i don't need write the setlogger() method in my code? --- Jos Antonio Prez Testa [EMAIL PROTECTED] Digester uses Commons-Logging . If you have a log4j.jar in the classpath and a log4j.properties whith : log4j.rootCategory=debug,stdout

Betwixt - How to control the output in BeanToXml

2004-09-07 Thread ikuki . toh
hi, I am a beginner of commons.betwixt. I just wondering if Betwixt can do this and how : when convert a Bean To Xml, Could betwixt recognize an object in the bean I input, and then change the output of it to another object(exp : Date) in the XML? FOR EXAMPLE : If there is a Calendar in

Re: Flush by net.ftp.FTPClient.retrieveFile(String, OutputStream)

2004-09-07 Thread Marco Jacob
Daniel, 2. would be great. I don't know if other code maybe suffer from not flushing the stream. Normally the caller is reponsible for flushing and closing the OutputStream. In my current case flushing _at the end_ would be no harm. But it could harm if I'd like to stream direct to ServletOutput.