What is allowed to do with a HttpServletRequest ?

2005-07-14 Thread cristi
Hello all I have a web application where I need to use in a second request the HttpServletRequest object sent to the same servelet in the first request. Here is what my servlet looks like : public void doGet( HttpServletRequest request, HttpServletResponse response ) { /* some code

Re: What is allowed to do with a HttpServletRequest ?

2005-07-14 Thread Guillaume Lederrey
The question is probably : why do you need to refer to the first request ?. Dont you need to actually refer to some state of the request ? Could you extract that state from the request instead of storing the full request ? Maybe I'm just asking a dumb question, but I have problem understanding

RE: What is allowed to do with a HttpServletRequest ?

2005-07-14 Thread Peter Crowther
From: cristi [mailto:[EMAIL PROTECTED] I have a web application where I need to use in a second request the HttpServletRequest object sent to the same servelet in the first request. [...] session.setAttribute( FIRST_REQUEST_OBJECT, request ); Unsafe. Servlet containers may re-use

Re: What is allowed to do with a HttpServletRequest ?

2005-07-14 Thread Bill Barker
cristi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all I have a web application where I need to use in a second request the HttpServletRequest object sent to the same servelet in the first request. Here is what my servlet looks like : public void doGet(