[HTTPClient] NullPointerException in continuation status line

2003-02-06 Thread Eduardo Francos
Hi, Configuration: HTTPClient 2.0 Alpha 2 I'm getting a NullPointerException instead of the expected 404 (the stack trace is below) when I try to get the following url: http://www.pc.ibm.com/us/accessories/monitors/p_allmodelos.html The correct url is

[Jelly] Can't Find Jelly Tutorial

2003-02-06 Thread Harold Russell
Hi, I'm new to Jelly but have managed to download and built it according to the documentation. However when I tried to run the demo programs described in the documentation (eg. maven demo:swing) I get: [ERROR] BUILD FAILED [ERROR] Goal demo:swing does not exist in this project. Any pointers on

RE: [collections] Sort map by value

2003-02-06 Thread Thomas Muller
Seems like the association between item and title is so strong that the title should be an inherent part, but anyway... I don't know of any map implementations that facilitates sorting by values, but you can always sort it on demand: private static Comparator ENTRY_VALUE_COMPARATOR = new

Re: [CLI] RFE: when hasArg() is not specified in optiondefinition...

2003-02-06 Thread John Keyes
Hi Dmitry, What happens is that the argument is added to the args list of the command line so when you call getArgs on the command line instance you can get at these values i.e. the unrecognised arguments on the command line. It could be argued that an error should be reported here and

[httpclient] HTTP Post with 0 content-length

2003-02-06 Thread Ian
Hi all, I seem to be successfully sending an HTTP Post but with one problem. The content-length header is set to zero and nothing I do can make it non zero. A sniffer reveals the data is sent but as the content-length header is zero, the servlet at the other end treats it as no content !!! My

Re: Digester Problem related to Bean Classname

2003-02-06 Thread Craig R. McClanahan
On Thu, 6 Feb 2003, Maher Martin wrote: Date: Thu, 6 Feb 2003 16:20:58 +0100 From: Maher Martin [EMAIL PROTECTED] Reply-To: Jakarta Commons Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Digester Problem related to Bean Classname Hi, I've encountered a

RE: [collections] Sort map by value

2003-02-06 Thread Baltz, Kenneth
If you didn't need to handle additional put()s and remove()s, you could use SequenceHashMap and just be sure to put the items into the map in order. K.C. -Original Message- From: Willie Vu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:28 PM To: [EMAIL PROTECTED]

[Validator] Getting started

2003-02-06 Thread Erik Price
I have been working on a Tomcat-based webapp and have heard that the Validator classes are a good way to cut back on some of the tediousity involved in validating user data. Since there are a number of forms in my webapp, I thought that it would be worth checking out, but I have some

Digester Newbie Question

2003-02-06 Thread Kim Scott
Hi, I am having a problem using digester 1.3 to parse element text. Digester always returns the empty string for the element text. No exceptions are thrown and the logging doesn't show any error messages. Attributes work fine for me. I tried digester 1.2 and then both work. Does anyone have

RE: Digester Newbie Question

2003-02-06 Thread Baltz, Kenneth
Digester 1.4 was released this week. You might give it a try. I don't see anything immediately wrong with your example, but I'm not familiar with using a validating parser or namespaces. K.C. -Original Message- From: Kim Scott [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06,

RE: Digester Newbie Question

2003-02-06 Thread Craig R. McClanahan
On Thu, 6 Feb 2003, Baltz, Kenneth wrote: Date: Thu, 6 Feb 2003 15:07:46 -0800 From: Baltz, Kenneth [EMAIL PROTECTED] Reply-To: Jakarta Commons Users List [EMAIL PROTECTED] To: Jakarta Commons Users List [EMAIL PROTECTED] Subject: RE: Digester Newbie Question Digester 1.4 was released

[pool] Serializable

2003-02-06 Thread Tim Sawyer
Hi, Is there any particular reason why StackObjectPool is not serializable? Cheers, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [httpclient] HTTP Post with 0 content-length

2003-02-06 Thread Adrian Sutton
Hi, The answer to this is very likely to depend on the version of HttpClient you're using. I've included a couple of possible theories below, but if they don't help it would be good if you could provide me with the following: 1. The version of HttpClient you're using. 2. A simple, complete test

Re: [Jelly] Can't Find Jelly Tutorial

2003-02-06 Thread Harold Russell
Hi, I've cd to jelly-tags/swing and run maven demo:swing but got the following error. D:\apache_cvs_work_dir\jakarta-commons-sandbox\jelly\jelly-tags\swing [ERROR] java.io.FileNotFoundException: D:\apache_cvs_work_dir\jakarta-commons-sa ndbox\jelly\jelly-tags\swing\${basedir}\..\tag-project.xml