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 do you know about pagecontext and what are the advantages of using it?
What is the use of session management?
What is meant by session management?
Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page? : Citibank
What are context initialization parameters?
Which jsp implicit objects are thread safe?
What is jsp and its features?
Is jsp server side or client side?
What is the difference between java servlet and jsp?
What is jsp api?
What is use of scriptlet tags in jsp?
Give the syntax for jsp comments.
What is tld file?
What is include directive in jsp?
How we can disable session in jsp?