@RequestMapping(value = "/editing/{archive}/insert")
public String insertPage(@ModelAttribute("userBean") UserBean userBean, @ModelAttribute("confBean") ConfBean confBean, @PathVariable String archive, ModelMap modelMap, HttpServletRequest request, HttpServletResponse response) throws Exception {
common(confBean, userBean, archive, modelMap, request, response);
InsertRecordCommand insertRecordCommand = new InsertRecordCommand(request.getParameterMap(), modelMap);
insertRecordCommand.execute();
if ((MyRequest.getParameter("go", request.getParameterMap()).toLowerCase()).indexOf("insertandclose") != -1) {
return "editing/doSaveAndClose";
} else if ((MyRequest.getParameter("go", request.getParameterMap()).toLowerCase()).indexOf("insertandmod") != -1) {
return editingPage(userBean, confBean, archive, modelMap, request, response);
}