What are the built-in objects for JSPs? What are the roles? (Minimum of three)
Answer:
1) The request represents the HttpServletRequest object. It contains information about browser requests and provides several useful methods for obtaining cookies, headers, and session data. 2) response represents the HttpServletResponse object and provides several methods for setting the response to the browser (such as cookies, header information, etc.). 3) The Out object is an instance of Javax.jsp.JspWriter and provides several methods that you can use to echo the output to the browser. 4) PageContext represents a Javax.servlet.jsp.PageContext object. It is an API for easy access to a wide range of namespaces, servlet-related objects, and a way to wrap generic servlet-related functionality. 5) The session represents a requested Javax.servlet.http.HttpSession object. Session can store the user's status information. 6) application represents a Javax.servle.ServletContext object. This helps to find information about the servlet engine and the servlet environment. 7) config represents a Javax.servlet.ServletConfig object. This object is used to access the initialization parameters of the servlet instance
Number. 8) page represents a servlet instance that is generated from this page. 9) exception for error pages, no catch exceptions
What are the built-in objects for JSPs? What are the roles? (Minimum of three)