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

Answers were Sorted based on User's Feedback



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

Answer / krrish

Application object is used to maintain the information
related to the current webapplication which is running in
the webcontainer.

Session object is used to maintain the information related
to the browser from which the user gets the request.

Is This Answer Correct ?    42 Yes 2 No

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

Answer / 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

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

Answer / guest

Application Object is limited to with in the WebApplication

Session is limited to the single client

Is This Answer Correct ?    22 Yes 7 No

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

Answer / hazarath k

When a Java bean object is used in while processing
multiple requests and the information is specific to the
particular client, then we place that Java been object in
Session.

When a Java bean object is used in while processing
multiple requests and the information is not specific to
the any client, then we place that Java been object in
Application.

Is This Answer Correct ?    16 Yes 3 No

Post New Answer

More JSP Interview Questions

What does jsp mean in text?

0 Answers  


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

0 Answers  


What is jstl (jsp standard tag library)?

0 Answers  


Q : In session created by server with client(browser) How can server find that request coming is belong to new session OR belong to session that is timeout.

4 Answers   HCL,


What are JSP Directives?

9 Answers  






What is client side technology?

0 Answers  


What is the jsp?

0 Answers  


What is an api with example?

0 Answers  


Is jsp platform dependent?

0 Answers  


What is jsp and why it is used?

0 Answers  


How run jsp program in netbeans?

0 Answers  


What is context url?

0 Answers  


Categories