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
What is page scope?
How does jsp engines instantiate tag handler classes instances?
Can you stop multiple submits to a web page that are initiated by clicking to refresh button?
Define jsp declaration?
What are the life-cycle methods for a jsp?
Can a subsequent request be accessed with one’s servlet code, if a request attribute is already sent in his jsp?
What information is needed to create a tcp socket?
What is a expression?
When does a container initialize multiple jsp objects?
How does error handling occur with jstl?
What is the purpose of
What are the jsp tag?
What's the difference between javabeans and taglib directives?
How can my application get to know when a httpsession is removed?
How to deactivate el usage on jsp?