HttpServletRequest之getParameter

来源:互联网 发布:c语言课后题答案第四版 编辑:程序博客网 时间:2024/06/06 08:53

HttpServletRequest的getParameter()方法内的参数就是jsp中所定义的name的值,比如常常在login.jsp中,<input type="text" name="username"> <input type="password" name="password">索引号引起来的"username"和password"就是getParameter()的参数,

getParameter("username");


原创粉丝点击