码迷,mamicode.com
首页 > Web开发 > 详细

WEB里面的方法

时间:2015-09-22 14:26:07      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:

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) 。

 

WEB里面的方法

标签:

原文地址:http://www.cnblogs.com/liu-Gray/p/4828660.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!