Hmmm.
Well that clarifies things a lot. Id had a theory that perhaps it might be
something to do with the key that you use  and that you just werent finding
them again correctly (maybe using a custom object for the key that didnt
override hashcode()) but since there is nothing in the map at all that cant
be the case.

Based on the information you have provided it *should* work! I think we will
need to see some source.

Are you able to post the code for the setter & getter methods, and a sample
action mapping from your struts-config?
Better add a snippet from an action where you try to access it too.

<btw>
I'll be heading home shortly (its 7:30pm here) so I might not get to see the
reply till Monday.
</btw>

-----Original Message-----
From: Geronimo Ma. Hernandez [mailto:[EMAIL PROTECTED]
Sent: Friday, 22 August 2003 19:06
To: Struts Users Mailing List
Subject: Re: problems with ActionConfig


Andrew Hill wrote:
> And then you split it in the setter (using a StringTokenizer or some such
> similar method) and call map.put() for each token? What are you using as a
> key for each token?

my value looks like "user:session, userList:request", where the list is
split
by the "," and the entries are split by ":" so that "user" is a key and
"session" is a value.

> When you say its empty do you mean you cant find the things you put in it
or
> have you done an explicit test and seen that Map.isEmpty() returns true?

well both. nearly. I didn't use Map.isEmpty(), I use Map.size() which
returns
0.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to