Relationship and differences with the applicaiton of ServletContext.
servletcontext mainly used in the servlet and jsp used;
jsp application can only be used in the page;
application and servletcontext global container are stored information;
application is in packaging applications servletcontext jsp, so they are actually the same object is represented, with application attribute stored servletcontext can be read, and vice versa;
Jsp can be used directly in the application, the object may be obtained by servletcontext GetServletContext () method, and the application of this object to use exactly the same;
不懂之处:You can not use applicaiton in <%!%>, But you can use the ServletContext. Methods as below: