From 34701397ebbcb9b1f7551b7e318cee0526f99fbc Mon Sep 17 00:00:00 2001 From: User_cyk <1020691186@qq.com> Date: Tue, 4 Jul 2023 11:25:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/hellogithub/servlet/article/selectByArticleId.java | 2 +- src/com/hellogithub/servlet/article/updateReadCount.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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