req.setAttribute("bodyJsp","/fileupload/datastreamModificationSuccess.jsp");
RequestDispatcher rd = req.getRequestDispatcher(Controllers.BASIC_JSP);
rd.forward(req, res);</BUG>
}catch(FdcException ex){
<BUG>rawRequest.setAttribute("errors", ex.getMessage());
RequestDispatcher rd = rawRequest.getRequestDispatcher("/edit/fileUploadError.jsp");
rd.forward(rawRequest, res);</BUG>
return;
}
}

if( "true".equals(useNewName)){
req.setAttribute("useNewName", "true");
req.setAttribute("newFileName", originalName);
}else{
req.setAttribute("newFileName", fileEntity.getName());
}
JSPPageHandler.renderBasicPage(req, res, "/fileupload/datastreamModificationSuccess.jsp");
}catch(FdcException ex){
rawRequest.setAttribute("errors", ex.getMessage());
JSPPageHandler.renderPlainPage(rawRequest, res, "/edit/fileUploadError.jsp");
return;
}
}
