static final EmptyPicoContainer emptyContainer = new EmptyPicoContainer();
protected Context createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
{
Context ctx = new NanocontainerVelocityContext(
(PicoContainer)(new RequestScopeObjectReference(request, REQUEST_CONTAINER)).get(),
ServletValueStack.getStack(request)
);
ctx.put(REQUEST, request);
ctx.put(RESPONSE, response);
return ctx;