try {
if (actionFlag.equals("sorting")) {
SortingCommand sortingCommand = new SortingCommand(parameterMap, modelMap);
managingBean = sortingCommand.execute();
} else if (actionFlag.equals("multiMod")) {
MultiModCommand multiModCommand = new MultiModCommand(parameterMap, modelMap);
managingBean = multiModCommand.execute();
} else if (actionFlag.equals("multiModRenumber")) {
MultiModRenumberCommand multiModRenumberCommand = new MultiModRenumberCommand(parameterMap, modelMap);
managingBean = multiModRenumberCommand.execute();
} else if (actionFlag.equals("erase")) {
EraseCommand eraseCommand = new EraseCommand(parameterMap, modelMap);