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 do I perform browser redirection from a jsp page?
What is a declaration statement?
What is meant by jsp?
Explain the advantages in jsp?
What is difference between custom jsp tags and beans?
What is application scope in jsp?
how can i add properties in dynamic text fields using .js file?
How will you use jsp el in order to get the http method name?
What is an expression language?
Is jsp front end or backend?
How can automatic creation of session be prevented in a jsp page?
Can I use javascript on jsp page?
Can we call servlet from jsp?
Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com
What is the jspinit() method?