HttpServletResponse httpResponse = (HttpServletResponse)response;
String url = httpRequest.getServletPath();
if (url.equals(UPDATE_URL)) {
String msg = "<h2>Vosao CMS " + SetupBean.FULLVERSION + " Update</h2>";
try {
UpdateManager updateManager = new UpdateManager(getBusiness());
String updateMsg = updateManager.update();
if (StringUtils.isEmpty(updateMsg)) {
updateMsg = "Database is already updated.";
}
writeContent(httpResponse, msg + updateMsg);
return;