public CommonTemplateServletSerializer() {
try {
ServletContext servletContext = ActionServletContext.getContext().getServletContext();
Properties properties = PropertiesUtils.getProperties(getPropertiesName());
ConfigurationSettings config = PropertiesConfigurationLoader.loadConfiguration(properties, new ServletClassResourceLoader(servletContext), null);
config.setSourceLoader(new ClasspathSourceLoader());
engine = new Engine(config);
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);