添加Json
This commit is contained in:
parent
f1a42895bf
commit
2ee5d3da0b
BIN
libs/fastjson-1.2.79.jar
Normal file
BIN
libs/fastjson-1.2.79.jar
Normal file
Binary file not shown.
@ -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 {
|
||||
|
@ -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>密   码: </label><input type="password" name="userPwd"/><br>
|
||||
<label>验证码: </label><input type="text" name="code"/><img id="exchangecode" src="VerifycodeServlet">
|
||||
|
Loading…
Reference in New Issue
Block a user