
Servlet
Servlet笔记
猴子请来的坑逼
追逐梦想,保持热爱
展开
-
Servlet 网页跳转
Servlet 网页跳转 @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { req.getRequestDispatcher("/index.jsp").forward(req, resp); }原创 2021-01-02 16:27:00 · 113 阅读 · 0 评论 -
Servlet web.xml模板
Servlet web.xml模板 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/java原创 2021-01-02 16:24:03 · 191 阅读 · 0 评论