| Author |
is it safe to put objects in HttpRequest(for a cluster environment)
|
Raj Ohadi
Ranch Hand
Joined: Jun 30, 2006
Posts: 314
|
|
|
In clustered environment, is it safe to put object in HttpRequest ? Should we always put them in HttpSession if it is a clustered environment ?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
What basis do you have for wondering why request scope might not be "safe"?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Since a request only lasts the duration of a 'request', it shouldn't matter if you're in a clustered environment. The machine that recieves the request will be the one making the response.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: is it safe to put objects in HttpRequest(for a cluster environment)
|
|
|