for (Object key : model.keySet()) {
request.setAttribute(key.toString(), model.get(key.toString()));
}
response.setContentType(view.getContentType());
view.dispatch(request, response, servletContext);
}
} catch (Exception e) {
request.setAttribute("exception", e);
throw new ServletException(e);