This topic has been archived. It cannot be replied.
-
枫下家园 / 护照签证 / How can JSP page get correct session object?
-marcow(UserMarco);
2000-10-29
{1356}
(#12466@0)
-
Regarding session management and dispatcher
-jabber(jabber);
2000-10-30
{643}
(#12525@0)
-
Jabber, How do you know that?Jabber, the codes I wrote can run smoothly, but I don't know why JSP page can get correct session? You said:
"In turn, session is ASSOCIATED with REQUEST.... "
How can you know that? I can't find any specification or documents mention that.
-marcow(UserMarco);
2000-10-30
{248}
(#12571@0)
-
Of course, It SHOULD be, but nobody tells me it MUST be
-marcow(UserMarco);
2000-10-30
(#12579@0)
-
Come in, Marco
-jabber(jabber);
2000-10-31
{645}
(#12661@0)
-
Jabber, about session againYes, I believe session is associated with request object. But Servlet API is a specification, different application server vendors implement it. If this idea is not mentioned in specification, how can we know whether it is implemented in a application server?
By the way, Do you still remember the name of the article you read about it? Is it online paper? Where can I get it?
-marcow(UserMarco);
2000-10-31
{377}
(#12692@0)
-
Such things are speficied by Servlet API documentation.If I remember correctly, dispatcher was not supported in Servlet 1.0.
Vendor usually tell us which version of whcih API they support. How to implement API is a black box.
I will try to get back the article title. It is on the Internet. Once I get some idea, I will let you know.
-jabber(jabber);
2000-11-1
{284}
(#12782@0)