I don't think that there is anything like that in Tomcat.
But if you would like prevent user from being confused
by popup windows - it might be desirable to check session
flag: transaction in progress, complete, etc.
But you say that your logic is thread-safe.  So I assume that
you implemented some semaphore like what Dmitri describes.
So this is a thin client solution.  Hope there is something more
elegant out there.
r/luba

----- Original Message -----
From: "Russ Freeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 7:29 PM
Subject: Re: multithreaded beans, struts, doing it right...


> Interesting, are you saying:-
>
> 1) that there is some generic facility I can use to do this in tomcat
>
> or
>
> 2) Each business object should decide whether it can handle another
request
> (assuming it knows one is in progess, e.g. using some state flag) ?
>
> Cheers,
> Russ
>
> ----- Original Message -----
> From: "Luba Powell" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 20, 2001 12:04 AM
> Subject: Re: multithreaded beans, struts, doing it right...
>
>
> > <<
> > user accidentally double clicks one of the
> > links and the same business object gets two requests, where the first
> isn't
> > finished before it recieves the second.
> > >>
> >
> > This probably better be intercepted, even if the logic is thread safe.
> > Too confusion to the client.  You can watch user activity thread in
> > your session object.
> >
>
>

Reply via email to