标签:
1.String getParamer(String name),获取控件里面name的值,返回控件里面name值。String username = req.getParamter("username");
2.response.setContentType("text/html");
3.PrintWriter out = reap.getWriter();
4.out.flish();
5.<form action="LoginServlet"(表单将信息提交给action) method=""(不写的时候默认为GET) 。
标签:
原文地址:http://www.cnblogs.com/liu-Gray/p/4828660.html