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 forward a request to another source?
What is the use of jstl?
What are the different life-cycle methods?
What does jstl mean?
Explain client and server side validation?
What is
How does response sendredirect work?
What is jsp taglib?
What is session tracking in jsp?
What is scripting elements in jsp?
How do I use a scriptlet to initialize a newly instantiated bean?
What is out in jsp?
How can I prevent the output of my jsp or servlet pages from being cached by the browser?
What are scriptlets in jsp?
What are the standard actions available in jsp?