diff --git a/src/main/webapp/category.jsp b/src/main/webapp/category.jsp index 97dbd65..3bbe69a 100644 --- a/src/main/webapp/category.jsp +++ b/src/main/webapp/category.jsp @@ -10,7 +10,7 @@ response.setCharacterEncoding(StandardCharsets.UTF_8.name()); String idValue = request.getParameter("id"); Category category; - Database db = Database.getInstance(); + if (idValue == null) { %>