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 are the different jsp element types?
write a program in javasacript to shake the window
What are jsp el implicit objects and how it’s different from jsp implicit objects?
What are the events in jsp page?
How is jsp include directive different from jsp include action. ?
Which syntax is used to comment jsp?
Why are implicit objects not available in a regular jsp page?
What are the attributes on page directives?
What is difference between include directive and jsp:include action?
What is the
What are the primary differences between the jsp custom tags and java beans?
Explain the difference between servlet and jsp?
Explain what is jsp ?
Explain the
Can jsp contain javascript?