Tag Archives: implicit objects

pageContext implicit object

PageContext object is an object that maps to one of JSP page. It provides following functionalities: Obtaining other implicit object Processing properties Controlling the flow of page Getting error data It is rare to use pageContext object directly in the JSP page. However, it is used a lot when implementing a custom tag, so you […]


application implicit object (2)

Obtaining resources for web applications You might want to use files in the web application directory on a JSP page. For example, let’s say there is a subdirectory “message” under jsp_practice directory, and you want to print  txt file in message\notice\notice.txt. In this case, you can read specified resource using an absolute path as follows: […]