|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi all,
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... |
|
#2
|
|||
|
|||
|
JSPs are just specialized servlets. In a servlet you can get the session for the current request by using...
Code:
HttpSession hs = request.getSession(); 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. If this doesn't help then please be more specific with what you are asking. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > j2ee session ?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|