摘要:
a.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <form method="post" action="b.jsp"> <input t 阅读全文
摘要:
表单结构,设置form表单的id属性,method="post/get","action"要跳转的页面(jsp或servlet) <form name="userinfo" id="userinfo" action="judge.jsp" method="post"> ...... ...... . 阅读全文
摘要:
方法:统一使用编码(例如UTF-8编码)解决session或jsp等各种值传递时的中文乱码问题 request.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8"); 阅读全文