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 the difference in using request.getrequestdispatcher() and context.getrequestdispatcher()?
What is the jspdestroy() method?
What is tag file in jsp?
Can we use jstl in html?
How does error handling occur with jstl?
How we can configure init params in jsp?
What is jsp custom tag and what are it’s components?
What is a scriptlet in jsp and what is its syntax?
Explain JSP directives.
How does a servlet communicate with a jsp page?
What is jsp declaration?
Why use of scripting elements in jsp is discouraged?
What are the possible values for language directive?
How does response sendredirect work?
What is an expression in jsp?