What is the use of Application Object and Session Object in
JSP?

Answer Posted / pratheeka reddy

Session represents the HTTP session object associated
with the request,obtained from request getSession().
Application represents the servletcontext object for
storing persistent data for all clients.
The difference between session and application is that
session is tied to one client,but application is for all
clients to share persistent data.

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why session is used?

463


What is page scope?

485


What is jstl jar?

483


How do I save a jsp file?

500


What is jsp life cycle?

495






How to use jsp el to get http method name?

488


Which syntax is used to comment jsp?

498


What is scriptlet, expression and declaration in jsp?

467


What is jsp action tags?

498


Explain the various scope values for tag.

496


Explain the action.

536


What are jsp el implicit objects and how it’s different from jsp implicit objects?

517


What are the two types of comments supported by jsp?

498


How can we create jsp custom tags?

433


What is < jsp:forward> tag for?

538