<td>密码</td>
<td><input type="password" name="pass"></td> String password =request.getParameter("pass");按照上面这样写可以得到password的值
<td>密码</td>
<td><input type="password" name="password"></td> String password =request.getParameter("password");按照上面这样得到的password的值总是空
请问这是为什么呢?谢谢!
解决方案 »
- jsp参数传递中 参数包含?或&符号 该如何传递
- SSH框架中,开发网页,各位使用什么IDE, addin和tools?
- eclipse项目发布到tomcat后,自带的库和tomcat的库发生冲突
- 在weblogic里配完jndi后,用ibatis调用jndi出错,help!!
- hibernate.config.xml的问题
- 给条活路吧
- 求救:TOMCAT中连接数据库文件serve.xml文件的设置
- jb9写JSP页面出现的错误。请指点。
- eclipse 开发Android,在手机上运行
- 这是MyEclipse的一个bug么?
- 【求助】关于JSP中,加载文件路径的问题
- 有高手帮我看下嘛? lucene的问题
<%
out.print(request.getParameter("password"));
%> <form action="#">
<input type="password" name="password">
<input type="submit" value="test">
</form>
out.print(request.getParameter("password"));
%> <form action="#">
<input type="password" name="password">
<input type="submit" value="test">
</form>
这是可能性最高的解释。可以在浏览器上按 <Ctrl>+<F5> 做强制刷新,再试试看。