1 package org.apache.turbine.modules.screens; 2 3 18 19 import org.apache.turbine.Turbine; 20 import org.apache.turbine.TurbineConstants; 21 22 import org.apache.turbine.util.RunData; 23 24 31 public class JspErrorScreen 32 extends BaseJspScreen 33 { 34 38 protected void doBuildTemplate(RunData data) 39 throws Exception  40 { 41 String errorTemplate = Turbine.getConfiguration() 42 .getString(TurbineConstants.TEMPLATE_ERROR_KEY, 43 TurbineConstants.TEMPLATE_ERROR_JSP); 44 45 setTemplate(data, errorTemplate); 46 } 47 } 48 | Popular Tags |