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
How can you include the results of another page?
What is the difference between include and jsp directive: include action?
What is error page in jsp?
Differentiate between
What is a output comment?
Can Static method be Override?
Can we implement an interface in a jsp?
Give uses of object cloning?
How can I prevent the use of scripts and java code on the jsp page?
What is the difference between "JTable" and "JTGrid"? can they be used interchangeably?
Explain jsp action elements or action tags?
What is welcome file list?
What is a jsp file?
What is the difference between java servlet and jsp?
What is an api with example?