RE: [httpclient] URL encoding

2003-05-30 Thread Tracy Boehrer
It turns out I was crazy. I was using HttpClient in conjunction with Jakarta Slide. Slide had their own GetMethod class, which was encoding the URI again. The test I sent you didn't even use that class. So there definately wasn't a problem with HttpClient. Sorry for wasting your time, and

Re: [collections] HashMap with multiple values for one key

2003-05-30 Thread Robert McIntosh
That is exactly what the MultiMap and its default implementation of MultiHashMap is designed to do, store a Collection of items within a single key. Robert [EMAIL PROTECTED] 05/29/03 02:25PM Hello, I know this is probably a really stupid question but i am looking for a HashMap (or

Re: [collections] HashMap with multiple values for one key

2003-05-30 Thread Denis Avdic
Hm, so if i do put(key, object1) and then put(key, object2) if i do get(key) i'll get a collection {object1,object2}? Robert McIntosh wrote: That is exactly what the MultiMap and its default implementation of MultiHashMap is designed to do, store a Collection of items within a single key.

Re: [collections] HashMap with multiple values for one key

2003-05-30 Thread Rob Leland
Denis Avdic wrote: Hello, I know this is probably a really stupid question but i am looking for a HashMap (or similar)implementation that will store multiple objects under the same key. I wrote a superficial implementation myself based on the HashMap, but I am interested to know if there is

[DBCP] sample usage questions

2003-05-30 Thread Keith Veleba
Hello, I'm currently in the process of retrofitting an application that contains some database connection pooling. Unfortunately, scalability issues with the current custom pooling implementation have cropped up, forcing a rewrite of those pools. In my search, I discovered the DBCP and

Re: [collections] HashMap with multiple values for one key

2003-05-30 Thread Denis Avdic
Well, I want an option of taking out a key at a time with one function call. (as in get). Being able to get the entire collection would be a bonus. I'll end up extending MultiHashMap so a get gets me the top of the stack (or bucket, whatever you want to call it) and a getCol gets me the

Re: [collections] HashMap with multiple values for one key

2003-05-30 Thread Erik Price
Rob Leland wrote: Denis Avdic wrote: Hello, I know this is probably a really stupid question but i am looking for a HashMap (or similar)implementation that will store multiple objects under the same key. I wrote a superficial implementation myself based on the HashMap, but I am interested

Re: [Digester] - Read only methods

2003-05-30 Thread robert burrell donkin
this is a bit of a guess but are you using the latest versions of beanutils and digester? i seem to remember a beanutils bug sounding similar to this... - robert On Thursday, May 29, 2003, at 01:14 PM, Sloan Seaman wrote: It does not display an error message but if I turn on debugging it

Re: [Digester] - Read only methods

2003-05-30 Thread Simon Kitching
Hi Sloan, From a quick look at the digester code, I see that SetPropertiesRule uses BeanUtils.populate(targetObject, valuesMap). Following this down, I see that eventually java.beans.Introspector is called to get info about the target class. For my own interest, I looked into the JavaBeans spec,

Re: [Digester] - Read only methods

2003-05-30 Thread Craig R. McClanahan
On Wed, 28 May 2003, Sloan Seaman wrote: Date: Wed, 28 May 2003 15:27:56 -0400 From: Sloan Seaman [EMAIL PROTECTED] Reply-To: Jakarta Commons Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Digester] - Read only methods Is there any way to get Digester to call methods that