添加Json

This commit is contained in:
landaiqing 2023-06-07 00:42:38 +08:00
parent f1a42895bf
commit 2ee5d3da0b
3 changed files with 2 additions and 2 deletions

BIN
libs/fastjson-1.2.79.jar Normal file

Binary file not shown.

View File

@ -19,7 +19,7 @@ import java.io.IOException;
*/
@WebFilter("/*")// 过滤器所有的请求
public class UserSessionFilter implements Filter {
private String[] excludeUrls = new String[]{"/login", "/register", "/VerifycodeServlet","/ExUserNameServlet"};
private String[] excludeUrls = new String[]{"/login", "/register", "/VerifycodeServlet","/exUserNameServlet"};
@Override
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

View File

@ -10,7 +10,7 @@
<html>
<head>
<title>注册页面</title>
<form action="${pageContext.request.contextPath}/register" method="post">
<form action="/JavaWeb_Login_Register_war_exploded/register" method="post">
<label>用户名: </label><input type="text" name="userName" onkeyup="mayiktAxios(this)"/><br>
<label>密&nbsp&nbsp&nbsp码: </label><input type="password" name="userPwd"/><br>
<label>验证码: </label><input type="text" name="code"/><img id="exchangecode" src="VerifycodeServlet">