diff --git a/src/main/java/io/hardingadonis/saledock/controller/others/dashboard/DashboardServlet.java b/src/main/java/io/hardingadonis/saledock/controller/others/dashboard/DashboardServlet.java index 9d5af57..55ad8c6 100644 --- a/src/main/java/io/hardingadonis/saledock/controller/others/dashboard/DashboardServlet.java +++ b/src/main/java/io/hardingadonis/saledock/controller/others/dashboard/DashboardServlet.java @@ -11,6 +11,12 @@ public class DashboardServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + request.setCharacterEncoding("UTF-8"); + response.setContentType("text/html; charset=UTF-8"); + + request.setAttribute("page", "dashboard"); + + request.getRequestDispatcher("/view/jsp/others/dashboard/dashboard.jsp").forward(request, response); } @Override diff --git a/src/main/webapp/view/common/_sidenav.jsp b/src/main/webapp/view/common/_sidenav.jsp index 1498390..e524bae 100644 --- a/src/main/webapp/view/common/_sidenav.jsp +++ b/src/main/webapp/view/common/_sidenav.jsp @@ -13,30 +13,30 @@