> From: Mohammed Zabin [mailto:[EMAIL PROTECTED] 
> Subject: Re: Bean and Servlet
> 
> What do you suggest to overcome this problem?

In the seven messages you've posted in this thread, you've never really
explained what this attribute is being used for; nor have you answered
the question of whether or not it's used only for the duration of a
single request or is applicable to everything a given user does with
this particular webapp.

Until you give us some idea of what your intent is (as opposed to code
snippets), I don't think anyone can really answer your questions.

If you do need to store attributes in a session, you will need at least
some synchronization logic to see if the attribute is already present,
since multiple requests can easily be using the Session object
concurrently.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to