
November 6th, 2001, 12:33 PM
|
|
Junior Member
|
|
Join Date: Nov 2001
Posts: 0
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Servlet/JSP - Interaction
As everyone knows, Servlets are initialized only once and run new threads for each request.
What is the best way to share objects between servlets and jsp (and even back)?
Are session-attributes (in this case java-beans beeing shared as session-attributes) a reasonable possibility, or is this obsolete?
The other way round: Do different requests within a single session to a single servlet use the same thread of the servlet?
Thx in advance.
|