There is an object that provides one point access to page, request, response, session, out, exception, config and application. What is that object or mechanism? Is it pageContext, if so give an example.

Questions by hmashruf   answers by hmashruf

Showing Answers 1 - 2 of 2 Answers

Tuhin Gupta

  • Apr 9th, 2006
 

javax.servlet.jsp.PageContext

pageContext is the object.

Eg:

ServletRequest getRequest()

HttpSession getSession()

Cheers!

  Was this answer useful?  Yes

Preeti Yadav

  • Apr 10th, 2006
 

PageContext is used for the following objects: Exception, JspWriter, ServletContext, ServletResponse, ServletRequest, ServletConfig, HttpSession.

  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