// now make a Context
ViewToolContext context =
new JspToolContext(view.getVelocityEngine(), this.pageContext);
view.prepareToolboxes((HttpServletRequest)this.pageContext.getRequest());
view.prepareContext(context);
setVelocityView(view);
setViewToolContext(context);
}