how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / manu
A small correction at **
using session oject in jsp.
first u set using following methods
String name="ravi";
session.setAttribute("user",name);
using retrive method
String sessionuser=session.getAttribute("user");**
out.println("welcome"+sessionuser);
u give this last 2 stmts in all jsp pages. it will
display as "Welcome ravi".
| Is This Answer Correct ? | 123 Yes | 33 No |
Post New Answer View All Answers
Explain the advantages of jsp?
How do I mix jsp and ssi #include?
What jsp lifecycle methods can be overridden?
Is jsp page extensible true false?
Can we use javascript in jsp?
Can jsp run without server?
Is jsp technology extensible?
How can I implement a thread-safe jsp page?
What is jsp in javascript?
What is a page directive?
Is jsp a programming language?
how can i add properties in dynamic text fields using .js file?
What is jstl jar?
What is difference between page and pagecontext in jsp?
What is include directive in jsp?