rc.setAttribute(FREEMARKER_DIRECTIVE_CONTEXT, new FreemarkerDirectiveContext(env, paramMap));
methodInvoker.invokeWebHandler(freemarkerDirectiveRef, rc);
} catch (Exception e) {
logger.error(e.getMessage());
}finally{
rc.removeAttribute(FREEMARKER_DIRECTIVE_CONTEXT);
}
}
}