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 < jsp:forward> tag for?
What are the standard actions available in jsp?
How can we handle the exceptions in jsp?
What will happen if iselignored attribute is set as false?
What are stored procedures? How is it useful?
What are the possible values for language directive?
What is jsp declaration?
Explain the jsp life cycle?
List all tags that are provided in jstl?
Why is used in jsp?
Can we call servlet from jsp?
What are scripting elements?
What is the
Explain the
Is there a way to reference the "this" variable within a jsp page?