how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / aryan
String name="Arpit";
session.setAttribute("user",name);
String sessionuser=session.getAttribute("user");
out.println("WellGud"+sessionuser);
| Is This Answer Correct ? | 36 Yes | 11 No |
Post New Answer View All Answers
How to include a jsp file in another jsp file?
What is the use of implicit object named "application" in Application?
Why use of scripting elements in jsp is discouraged?
Define jsp declaration?
What are custom tags in jsp?
How to retrieve warnings?
Is jsp static or dynamic?
What is asp and jsp?
In the servlet 2.4 specification singlethreadmodel has been deprecated, why?
Explain jsp action elements or action tags?
Where do I create jsp in eclipse?
Mention the various implicit objects used in the expression
Is jsp technology extensible?
What is jsp net?
What is difference between javascript and jsp?