return redirect("admin", "info.save.failure");
}
}
Long categoryId = getLong("removeCategoryId");
if (null != categoryId) {
Category category = entityDao.get(Category.class, categoryId);
if (null != category) {
try {
entityDao.remove(category);
} catch (Exception e) {
return redirect("admin", "info.remove.failure");