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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are custom tags in jsp created?

486


Explain how you understand the action tag and jsp action elements.

541


What is the jsp:setproperty action?

538


What is expression language injection?

496


Which method cannot be overridden in jsp?

503






How can I declare methods within my jsp page?

520


What is meant by implicit objects and what are they?

503


Mention some important jsp action tags.

506


Can we use javascript with jsp pages?

503


Which syntax is used to comment jsp?

498


What are request and response objects?

513


What is the use of jstl tags in jsp?

514


How can I use the results of my method? ea: <%! method (int x) { stuff return y; } %> <% out.println(y); %> how can I make this work? "y" is a variable made during the method.

1643


Why jsp is faster than servlet?

495


How do I view jsp files in my browser?

505