config

The implicit config object represents the ServletConfig, which defines a servlet-engine–generated object that contains configuration information. The configuration information that this servlet will have access to is the ServletContext object, which describes the context within which the generated servlet will be running. You can see how the config object is initialized in the following code snippet:

 ServletConfig config = null; JspWriter out = null; Object page = this; String _value = null; try { if (_jspx_inited == false) { _jspx_init(); _jspx_inited = true; } _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, "errorpage.jsp", true, ...

Get Pure Java Server Pages™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.