how to maintain sessions in jsp?can you tellme the methods.

Answer Posted / sandeep

Using HttpSession. Methods used are getSession(),
setAttribute and getAttribute

Is This Answer Correct ?    76 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jsp taglib?

513


How is jsp better than servlet technology?

544


Can constructor be used instead of init(), to initialize servlet?

506


How does error handling occur with jstl?

514


How to connect jsp and java file?

466






What is a page directive?

507


What is difference between javascript and jsp?

495


Can you explain what is jsp page life cycle?

531


What is jsp and asp?

507


What is jsp and why it is used?

455


What is the difference between servletcontext and pagecontext?

532


How can you include the results of another page?

482


What is meant by jsp?

510


What is the jspdestroy() method?

554


Is jsp and javascript same?

493