JSP application

tutorial and example
tutorial and example

JSP application object is an instance of servlet’s ServletContext interface. It is used initialize parameter of one or more JSP pages in an application. Thus, the scope of application object is wider than config object.

Example of JSP Application

This example shows the functionality of various methods of application object.

index.jsp

Output: