git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@764985
13f79535-47bb-0310-9956-
ffa450edef68
public static final String JSP_SERVLET_CLASS =
"org.apache.jasper.servlet.JspServlet";
public static final String JSP_SERVLET_NAME = "jsp";
+ public static final String PRECOMPILE =
+ System.getProperty("org.apache.jasper.Constants.PRECOMPILE",
+ "jsp_precompile");
}
// Invoking jspInit
DummyRequest req = new DummyRequest();
req.setServletPath(jspFile);
- req.setQueryString("jsp_precompile=true");
+ req.setQueryString(Constants.PRECOMPILE +
+ "jsp_precompile=true");
DummyResponse res = new DummyResponse();
if( Globals.IS_SECURITY_ENABLED) {