private ServletContext servletContext;
@SuppressWarnings("unchecked")
protected void handleGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
final ProcessingContextFactory pcf = (ProcessingContextFactory) SpringContextSingleton.
getInstance().getContext().getBean(ProcessingContextFactory.class.getName());
ProcessingContext ctx = null;
try {
// should send response wrapper !
ctx = pcf.getContext(httpServletRequest, httpServletResponse, servletContext);
} catch (JahiaException e) {
logger.error("Error while trying to build ProcessingContext", e);
return;
}