super.doGet(request,response);
VitroRequest vreq = new VitroRequest(request);
try {
if (!FreemarkerEmailFactory.isConfigured(request)) {
request.setAttribute("title", "Mail All Users Form");
<BUG>request.setAttribute("bodyJsp", "/contact_err.jsp");// <<< this is where the body gets set</BUG>
request.setAttribute("ERR",
"This application has not yet been configured to send mail. "
<BUG>+ "Email properties must be specified in the configuration properties file.");
RequestDispatcher errd = request.getRequestDispatcher(Controllers.BASIC_JSP);
errd.forward(request, response);</BUG>
}

super.doGet(request,response);
VitroRequest vreq = new VitroRequest(request);
try {
if (!FreemarkerEmailFactory.isConfigured(request)) {
request.setAttribute("title", "Mail All Users Form");
request.setAttribute("ERR",
"This application has not yet been configured to send mail. "
+ "Email properties must be specified in the configuration properties file.");
JSPPageHandler.renderBasicPage(request, response, "/contact_err.jsp");// <<< this is where the body gets set
}
