I'm answering the question that you asked, but my answer is less useful than Yoav's :).

With a small number of exceptions (such as POSTs to j_security_check), 
Tomcat-standalone reads the headers, and leaves the body until your servlet tells it 
what to do with it.  The case of Tomcat-Jk is a bit more complicated, so ask again if 
you really want to know :).
  "Donie Kelly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
   
  Hi all

   

  I want to insert some form of scheduling into our application and I was wondering 
how Tomcat passes the request to the actual servlet I write. Does Tomcat just read the 
headers to create the request object and leave the body of the message in an 
inputstream for the servlet to read or is all the data in the request read by Tomcat 
before passing it to servlet?

   

  Some of my traffic is more important that other based on headers in the request. I 
want to prioritise the handling of requests under load conditions.

   

  Any input on this is welcome.

  Thanks

  Donie

   



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to