diff --git a/src/com/hellogithub/servlet/article/selectByArticleId.java b/src/com/hellogithub/servlet/article/selectByArticleId.java index 53bb95e..5678db3 100644 --- a/src/com/hellogithub/servlet/article/selectByArticleId.java +++ b/src/com/hellogithub/servlet/article/selectByArticleId.java @@ -13,7 +13,7 @@ import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; -@WebServlet("selectByArticleId") +@WebServlet("/selectByArticleId") public class selectByArticleId extends HttpServlet { protected articleService articleservice = new articleService(); @Override diff --git a/src/com/hellogithub/servlet/article/updateReadCount.java b/src/com/hellogithub/servlet/article/updateReadCount.java index 184bf0c..4dea9db 100644 --- a/src/com/hellogithub/servlet/article/updateReadCount.java +++ b/src/com/hellogithub/servlet/article/updateReadCount.java @@ -13,7 +13,7 @@ import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; -@WebServlet("updateReadCount") +@WebServlet("/updateReadCount") public class updateReadCount extends HttpServlet { protected articleService articleservice = new articleService(); @Override