HttpServletRequest之getParameter

时间:2025-03-18 07:19:36

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

getParameter("username");