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

What is el?

581


What is the jsp?

615


How to find out the name of the http method using jsp el?

619


What is jsp and its architecture?

592


What is the resourcebundle class in jsp?

571






Which tag is used to execute java source code in jsp?

954


Explain the jsp:setProperty action.

636


Is the session object always created on the jsp page, is it possible to disable its creation?

592


Why is jsp used?

573


What is a javaserver pages (jsp)?

627


Can a jsp page instantiate a serialized bean?

640


Explain pge Directives.

617


What is jsp in javascript?

573


How can I enable session tracking for jsp pages if the browser has disabled cookies?

608


How does a servlet communicate with a jsp page?

625