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

How can we avoid direct access of jsp pages from client browser?

630


What will happen if iselignored attribute is set as false?

485


What is the difference between jsp and thymeleaf?

515


Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?

515


What is the full form of jsp?

551






What is session getattribute in jsp?

539


What is the difference between jsp and php?

487


What are the two types of comments supported by jsp?

506


Which package does a jsp api consist of?

495


Define Static Block.

536


What is the advantage of using getProperty action, as compared to the accessor method?

2774


How many tags are there in jsp?

498


Which language is used to write servlets and jsp?

463


What is session object in jsp?

594


What is tag file?

506