2021222324252627282930
public Object html(int id) throws SQLException { ensureLoginPage(); if (id == 0) { category = new BoardCategory(); } else { category = boardService.findCategory(id); if (category == null) { return new ErrorResult(404); }