Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (23 sloc) 1.06 KB
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- jsp implicit object application example -->
JSP implicit object application class : <%=application.getClass().getCanonicalName() %> <p/>
<!-- the above line will return org.apache.catalina.core.ApplicationContextFacade,
its an implementation of javax.servlet.ServletContext -->
<!-- servlet context parameters, application wide, jsp implicit object 'application' would make available
these parameters, class is javax.servlet.ServletContext
<!-- access the above parameter from the web.xml -->
Servlet context parameter : <%=application.getInitParameter("param1")%>