What are implicit objects in jsp?

This question is related to Oracle Interview

Showing Answers 1 - 2 of 2 Answers

Lavanya

  • Apr 14th, 2005
 

Implicit Objects in JSP provide access to all aspects of the page, such as request, response, etc. All these objects have a scope, which means they are visible to only certain objects and/or at certain times. 
 
The following are the implicit objects provided in JSP: 
 
request : javax.servlet.http.HttpServletRequest 
 
response : javax.servlet.http.HttpServletResponse 
 
out : java.servlet.jsp.JspWriter 
 
session : javax.servlet.http:HttpSession 
 
config : javax.servlet.ServletConfig 
 
application : javax.servlet.ServletContext 
 
page (or) this : java.lang.Object 
 
pageContext : javax.servlet.jsp.PageContext 
 
exception : java.lang.Exception

  Was this answer useful?  Yes

priyanka

  • Feb 5th, 2006
 

Lavanya Wrote: Implicit Objects in JSP provide access to all aspects of the page, such as request, response, etc. All these objects have a scope, which means they are visible to only certain objects and/or at certain times. 
 
The following are the implicit objects provided in JSP: 
 
request : javax.servlet.http.HttpServletRequest 
 
response : javax.servlet.http.HttpServletResponse 
 
out : java.servlet.jsp.JspWriter 
 
session : javax.servlet.http:HttpSession 
 
config : javax.servlet.ServletConfig 
 
application : javax.servlet.ServletContext 
 
page (or) this : java.lang.Object 
 
pageContext : javax.servlet.jsp.PageContext 
 
exception : java.lang.Exception

  Was this answer useful?  Yes

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