how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / godfather
String str="xxx";
session.setAttribute("xxx",str);//to set session
//so nw the session will get store by the name "xxx".
//To retrieve session
String str1=session.getAttribute("xxx");
| Is This Answer Correct ? | 14 Yes | 10 No |
Post New Answer View All Answers
What are different types of comments used in jsp?
What is jsp life cycle?
What is a jsp expression?
What is context url?
Is jsp server side scripting language?
Which package does a jsp api consist of?
What is the jsp:setproperty action?
What is the difference between a scrollbar and a scrollpane in jsp?
How does error handling occur with jstl?
How to connect jsp and java file?
What is jsp taglib?
What is jstl used for?
Which package does jsp api consist of?
When destroy method of jsp is called?
What is a translation unit?