}
ScreenRenderer screens = new ScreenRenderer(writer, null, textScreenRenderer);
screens.populateContextForRequest(request, response, servletContext);
// this is the object used to render forms from their definitions
screens.getContext().put("formStringRenderer", new TextFormRenderer(request, response));
screens.render(page);
writer.flush();
} catch (IOException e) {
throw new ViewHandlerException("Error in the response writer/output stream: " + e.toString(), e);