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 expression language in jsp?
What is a expression?
Explain jsp technology?
How we can disable session in jsp?
What is taglib uri in jsp?
How can I override the jspinit() and jspdestroy() methods within a jsp page?
How to deactivate el usage on jsp?
What is the purpose of creating custom tags?
What is client side technology?
When destroy method of jsp is called?
Why should we not configure jsp standard tags in web.xml?
Tell us about the stages (phases) of the jsp life cycle.
What is directive jsp?
Which implicit object is not available in normal jsp pages?
What is cookie with example?