I should think it's likely, indeed desirable, that both requests are being
handled by the same servlet, but I don't see how we could consider
request-related headers to be "global servlet variables".
(And if there's any synchronising to do it surely belongs within the Tomcat
code, since I can't see any circumstance where this kind of behaviour would
be acceptable.  We're only reading, as well.)

I'm with CB - if this is indeed reproducible (I haven't checked, and I don't
think CB has mentioned the version of Tomcat?) - then it's a bug, surely?
[Also: is it just the headers that are identical or are the parameters
identical too?  (The getQueryString includes the parameter info, right?)]

Mike.

----- Original Message -----
From: "ContestAdmin" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 4:06 PM
Subject: Re: Simultaneous request from same IP


It is possible that the two requests are being handled by the same
servlet. The outputs can be confused if the servlet uses any
'global' servlet variables.

Try either synchronizing the methods or have your servlet
implement SingleThreadModel.

-CA

Chris Bick wrote:

<snip>


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

Reply via email to