Hi!

Antonio Fiol Bonn�n wrote:

My guess:

req and res are attributes of the Servlet, like in:
public class TestServlet extends HttpServlet {
private HttpServletRequest req;
private HttpServletResponse res;
[...]
}

So you are calling "forward(s)" for a request once req and res have been overwritten by another request.

Hmm... Im a bit lost here... could anyone perhaps be so kind and post a code snipplet of how a thread safe use of a Servlet's request and response attribute could look like? I have not been working with Servlets for too long and I worried I might run into the same problem.


Thanks in advance

Phil

--
"I love deadlines, I love the whooshing noise they make as they go by"
- Douglas Adams


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



Reply via email to