JSP Internal Objects

Name the internal objects of JSP?

Questions by sejal k

Showing Answers 1 - 27 of 27 Answers

rengithm

  • Apr 24th, 2009
 

There are 8 implicit Objects are there ......


There are 
1.Request
2.Response
3.Session
4.Config
5.out
6.application
7.page
8.page context

  Was this answer useful?  Yes

Mathewpjose

  • Nov 17th, 2009
 

For an interview I would like to answer this in the following manner;

What exactly do I understand by JSP internal object? Spell the Implicit objects and take one object as an example and elabaorate as to the usage.


JSP internal objects are objects exposed by JSP container to the developer and they are also referred to as IMPLICIT objects.

Nine implicit objects:

Request
Response
Out
Page
Config
Session
Application
Page Context
Exception



Now If I take one implicit Object like the  SESSION object :
 
Session object is a connection between user and the server,heps to deiffernetiate between users .It  stores info about a users session.Allows information to be passed back to a cookie on the client side. Allow information to be shared across pages etc.


Thanks

Mathew

amitcsknit

  • Dec 30th, 2009
 

In a more technical way we can say that Implicit object are only local variable which are decalred outside _JspService method and they have std names so that we can use them in our scriptlet as well as expression. we have eight or can say 9 implicit object in which ninth is an exception and type of java.lang.Throwable.

request
response
session
application
config
page
pageContext
out
exception

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions