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
How do you connect to the database from jsp?
What is custom tag library?
Is jsp server side scripting language?
What is out in jsp?
Why is it not necessary to configure standard jsp tags in web.xml?
What is the jsp:getproperty action?
What are the advantages of jstl?
What do jsp literals consist of?
What is a jsp container?
What is include directive in jsp?
How does error handling occur with jstl?
Differentiate between pagecontext.include and jsp:include?
When the destroy method of the jsp's are called?
List the different scope values for the
Explain various implicit objects in expression language.