Re: [net] problem sending with FTPClient

2004-05-19 Thread Newbie Guy
Im attaching a copy of my source code below. Im sure its something I missed. Thanks :) -- protected void initialise() throws Exception { try { if (mFtpClient == null) { mFtpClient = new FTPClient();

Re: [digester] how to use digester with a class hierarchy

2004-05-19 Thread Adrian Perez Jorge
Hi. Consider also to add this class to the hierarchy: class Label extends Component { String text; } or maybe class Label extends TextString { /* nothing here */ } (read on) Bill Keese wrote: I see. In that case, I need to create the Text object when the text tag is encountered. The

[JXPath] - stable release

2004-05-19 Thread Paul McClure
Do you know when a new stable release will be available? thanks, Paul McClure wrote: Dmitri, Adrian I switched to the May 10th build - and all problems seem to be addressed (setFunctions() and setLenient()). Do you know when a new stable release will be available? Thanks very much, Paul

[HttpClient] - Digest Authentication

2004-05-19 Thread Steve Hayes
I am using HttpClient to talk to a server using digest authentication. The server in question only changes the nonce value every fifteen minutes or so. This is apparently to increase the performance by clients re-using digest requests and being authorized immediately, only being challenged when

[digester] How to convert the type of a XML-value before passing it as argument to bean

2004-05-19 Thread Lutz Ulrich
hello, the XML i want to parse with digester contains long values converted to hexadecimal format, like value34FA5/value since the text represents a long value, the corresponding bean shall have a corresponding long property, not a string property: class MyBean { long value; public long

RE: [HttpClient] - Digest Authentication

2004-05-19 Thread olegk
Steve, HttpClient currently cannot be configured to reuse the Digest authorization headers. What _may_ be possible is to copy the authorization header from a successfully executed method and manually add it to all the subsequent methods. There is a catch, though. Having detected the presence of

[HttpClient] Multipart Response

2004-05-19 Thread Kedar Panse
Hello Gurus, Are there any helper classes in HttpClient to handle multi part response from the server? i.e. If server sends Content-Disposition: form-data; name=somename; filename=somename.exe with some boundary? Kedar - To

Re: [digester] how to use digester with a class hierarchy

2004-05-19 Thread Bill Keese
Adrian Perez Jorge points out that I need to be able to persist the following objects in a non-ambiguous way: class Text extends Component { String text; } class Label extends Component { String text; } I see your point. Maybe when I persist a class from a class hierarchy, I should make an