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
What is the use of jstl tags in jsp?
What is difference between jsp and javascript?
What is the difference between include directive and include action?
What will happen if iselignored attribute is set as false?
What is jsp and why do we need it?
Why use of scripting elements in jsp is discouraged?
What is the differences between the jsp custom tags and java beans?
What are the jsp tags?
What is the difference between directive include and jsp include?
Can we call destroy method inside init method?
What are the primary differences between the jsp custom tags and java beans?
What is expression language in jsp?
What is application scope in jsp?
What do you mean by jstl?
List all tags that are provided in jstl?