mirror of
https://gitee.com/many2many/java-web.git
synced 2025-01-11 14:40:55 +08:00
changed
This commit is contained in:
parent
68036264bd
commit
10d021a5d1
BIN
docs/resources/imgs/servlet.png
Normal file
BIN
docs/resources/imgs/servlet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
@WebServlet("/Login2Servlet")
|
||||
//@WebServlet("/Login2Servlet")
|
||||
public class Login2Servlet extends HttpServlet {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -11,7 +11,7 @@ import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
@WebServlet("/Login3Servlet")
|
||||
//@WebServlet("/Login3Servlet")
|
||||
public class Login3Servlet extends HttpServlet {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -7,7 +7,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
|
||||
@WebServlet("/LoginServlet")
|
||||
//@WebServlet("/LoginServlet")
|
||||
public class LoginServlet extends HttpServlet {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
|
||||
id="WebApp_ID" version="3.1">
|
||||
|
||||
<servlet>
|
||||
<servlet-name>com.lk.webapp.servlets.LoginServlet</servlet-name>
|
||||
<servlet-class>com.lk.webapp.servlets.LoginServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>com.lk.webapp.servlets.Login2Servlet</servlet-name>
|
||||
<servlet-class>com.lk.webapp.servlets.Login2Servlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>com.lk.webapp.servlets.Login3Servlet</servlet-name>
|
||||
<servlet-class>com.lk.webapp.servlets.Login3Servlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>com.lk.webapp.servlets.LoginServlet</servlet-name>
|
||||
<url-pattern>/LoginServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>com.lk.webapp.servlets.Login2Servlet</servlet-name>
|
||||
<url-pattern>/Login2Servlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>com.lk.webapp.servlets.Login3Servlet</servlet-name>
|
||||
<url-pattern>/Login3Servlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
</web-app>
|
Loading…
Reference in New Issue
Block a user