July 21st, 2003, 11:09 AM
j2ee session ??
can any one give me the exact architecture details abt the
session created using jsp and servlet.
in a j2ee application,session are created using jsp or servlet??
plz any body reply me...
July 21st, 2003, 01:11 PM
JSPs are just specialized servlets. In a servlet you can get the session for the current request by using...
You can do the same thing in the jsp but the jsp already has a session variable, since the above code is inserted into the generated code at compile time.
HttpSession hs = request.getSession();
If this doesn't help then please be more specific with what you are asking.