JSP Implicit Objects
These objects are available implicitly in JSP scriptlet code. Variables are available of the types defined for these objects in the JSP specification. The types (Java classes) for these variables are detailed in the Table 28-1.
Object | Class | Description | Scope |
---|---|---|---|
request | javax.servlet.ServletRequest | Represents the request from the client. | request |
response | javax.servlet.ServletResponse | The response to be formulated for the request. | page |
pageContext | javax.servlet.PageContext | Represents the JSP page. | page |
session | javax.servlet.HttpSession | Contains session variables and information about session activity. | session |
application | javax.servlet.ServletContext | Application information, including application variables. ... |
Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.