Ok so let me get this straight since we both don't have a signature which requires a cookie that means

1. we don't need to store a cookie 2. we don't need to have a datastructure that stores key value pairs (we can use an arraylist instead for example) 3. we can put a cookie in if we want to in the way you described

Cheers, and still smiling

Smith Jone
Greenhorn

Joined: Nov 15, 2006
Posts: 11

posted Nov 21, 2006 06:12:00

0

1. we don't need to store a cookie 2. we don't need to have a datastructure that stores key value pairs (we can use an arraylist instead for example) 3. we can put a cookie in if we want to in the way you described

OK,I understood that you said. Of course,You should use arraylist or vector in Locking method. But, You&I may have a datastructure that stores key value paris. Because Anything will do. (in this case - Locking mechanism)

No I'm not using the Adapter pattern or anything fancy like that. I read your post and unfortunately I don't understand what's going on there. It seems a bit complicated. All I'm doing is catching IOExceptions etc inside my methods. That's one way of getting around it.

As for cookies - are you personally storing them? If so what use are they to us?

Smith Jone
Greenhorn

Joined: Nov 15, 2006
Posts: 11

posted Nov 21, 2006 06:29:00

0

Yes, I use Cookie,just in case.As following code... How do you implement Locking?