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 are scripting elements?

532


How can the output of JSP or servlet page be prevented from being cached by the browser?

499


What is jsp and why do we need it?

488


What do you know about pagecontext and what are the advantages of using it?

543


How do you comment out in jsp?

562






What is a expression?

529


What is jstl jar?

485


How can we disable java code or scripting in jsp page?

509


Why jsp and servlets are used?

507


What is the difference between jsp and php?

483


Give the syntax for jsp comments.

499


What are page directives?

515


What is jsp param?

648


write a program in javasacript to shake the window

2477


How is jsp better than servlet technology?

544