pagecontext as a parameter, instead of jspwriter