数据库更新

This commit is contained in:
2023-07-08 18:09:18 +08:00
parent a8c718e8e1
commit 1321daa2a5
3 changed files with 11 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ public class commitProjectServlet extends HttpServlet {
String projectUrl = req.getParameter("projectUrl");
String projectTitle = req.getParameter("projectTitle");
String projectDescription = req.getParameter("projectDescription");
String [] categoryIdList = req.getParameterValues("projectDescription");
String [] categoryIdList = req.getParameterValues("categoryIdList");
List<Integer> integers = new ArrayList<>();
for (String s : categoryIdList) {
integers.add(Integer.parseInt(s));

View File

@@ -12,7 +12,7 @@ import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
@WebServlet("returnGithubInfo")
@WebServlet("/returnGithubInfo")
public class ret_Github_infoServlet extends HttpServlet {
private githubService githubservice = new githubService();
@Override