In Marty's coreservelets book, it is said: application variable is the ServletContext as obtained via getServletConfig().getContext(). I checked the documentation, and did not find this variable under ServletConfig. Could any1 shed some light on it? Thanks.
posted 15 years ago
Hi, application is an implicit variable provided by the JSP container for eveyru JSP Page. It represents the javax.servlet.ServletContext object. This implicit variable is declared and initialized automatically by the conatiner in the JSP page implementation class. Hope this helps.