Ashish Kulkarni wrote:
Hi Filip,

I know, but i want to achieve some thing like
reqeust.setAttribute(), i dont want to save the object
in session, as then i will have to put some logic to
get it out of session, or size of session will go on
increasing, and will create problem in future
Setting an attribute in the request with request.setAttribute() will only persist for the lifetime of the request. Which means that you cannot submit to a form (this causes a new HTTP request).

In theory you could call RequestDispatcher.forward() on a new JSP page and that attribute /should/ persist, but that is not the same as submitting a form.


Erik


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

Reply via email to