Please enable JavaScript.
Coggle requires JavaScript to display documents.
JAVA SERVER PAGES(JSP) Implicit Objects (1) out (METHOD (out.print(data…
JAVA SERVER PAGES(JSP) Implicit Objects
1) out
TYPE
JSPWriter
METHOD
out.print(data type)
out.println(data type)
out.flush()
2) request
TYPE
HttpServletRequest
FUNCTION
used to get request information such as parameter, header information content type etc.
used to set,get and remove attributes from the JSP request scope.
created for each JSP request by the web container.
3) response
TYPE
HttpServletResponse
FUNCTION
used to add or manipulate response such as redirect response to another resource, send error etc.
4) session
TYPE
HttpSession
FUNCTION
used to track client session between client request
5) application
TYPE
ServletContext
FUNCTION
created when the JSP page is initialized and will be removed when the JSP page is removed by the jspDestroy() method
6) config
TYPE
ServletConfig
FUNCTION
This is the ServletConfig object associated with the page.
7) pageContext
TYPE
PageContext
FUNCTION
This encapsulates use of server-specific features like higher performance like JspWriters
8) page
TYPE
Object
FUNCTION
This is simply a synonym for this, and is used to call the methods defined by the translated servlet class.
9) exception
TYPE
throwable
FUNCTION
allows the exception data to be accessed by designated JSP.