logger.debug("in updateServerUrl...");
if (!isTokenValid(request)) {
return mapping.findForward(BaseConstants.FWD_INVALID_TOKEN);
}
ActionMessages msgs = new ActionMessages();
SystemConfigForm rssForm = (SystemConfigForm) form;
ServletContext sCtx = request.getSession().getServletContext();
systemConfigService.updateServerUrl(rssForm.getServerUrl(), getLastModifiedBy(request));
sCtx.setAttribute(BaseConstants.SERVER_URL, rssForm.getServerUrl());
msgs.add(BaseConstants.INFO_KEY, new ActionMessage("message.record.updated"));
saveMessages(request, msgs);
resetToken(request);
return mapping.findForward(BaseConstants.FWD_SUCCESS);
}