how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / mayur patel
start session oject in jsp.
first u set using following methods
String name="Mayur4453";
session.setAttribute("user",name);
using retrive method
String suser=session.getAttribute("user");**
out.println("Hi. . !! welcome "+suser);
| Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
What is cookies in jsp?
How to disable scripting?
Can we use javascript with jsp pages?
What is jsp param?
Explain what is jsp ?
How do I perform browser redirection from a jsp page?
What is the _jspservice() method?
Which method cannot be overridden in jsp?
What is the jspinit() method?
How do I run a jsp file?
What is the difference between include and jsp directive: include action?
When the destroy method of the jsp's are called?
Can I run jsp on xampp?
How can you include the results of another page?
Can you disable the caching on the back button of a particular browser?