Add something like the following to your servlet

synchronized ( someObject )
               {
               do work
               }

But you'll need to be careful, as requests will block and clients
might time out if you are performing lengthy operations inside the
synchronized block.

On Jan 4, 2008 11:12 AM, Marco Caldirola <[EMAIL PROTECTED]> wrote:
> Hi,
> I need to create on my tomcat 6.0 server a fifo queue of my http requests.
> I want to process a single request at a time.
> Do you have an idea?
> Thanks in advance.
> Marco
>
>
>
>
>       ___________________________________
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
> http://it.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
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