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

How many types of jsp tags are there?

486


What is the difference between java servlet and jsp?

498


What is context in web application?

493


What is an expression language?

516


What is in jsp?

626






Why jsp and servlets are used?

512


Which implicit object is not available in normal jsp pages?

477


In the servlet 2.4 specification singlethreadmodel has been deprecated, why?

508


What are the attributes on page directives?

512


What is difference between jsp and javascript?

483


How do you delete a cookie within a jsp?

567


How to access java variable in jsp?

501


What is jsp and its advantages?

512


How many jsp scripting elements are there and what are they?

526


Why should we not configure jsp standard tags in web.xml?

522