Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Bean and Servlet

Caldarale, Charles R

2007-07-26

Replies:

> From: Mohammed Zabin [mailto:jotnarta@(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@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.