FireFox 中Struts 出现的问题,IE中没有出现.高手赐教!! 有人说是TOMCAT的版本问题,我的是5.X. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 does not contain handler parameter named 'status'. This may be caused by whitespace in the label text看看status哪个地方多了空白 <html:form action="jsp/account.do" method="post"><input type="hidden" name="status" value="register">改为:<html:form action="jsp/account.do?status=register" method="post"> 另外你的action中也应当定义了register方法吧 难道我用input来提供status就不行马?我去试下。 错误的原因是status参数有时候没有被传过去,你可以在提交将status参数保证设置了一个值就好了,如:<script>function addParamters(obj){ obj.status.value='register'; return true;}</script><html:form action="jsp/account.do" method="post" onsubmit="return addParamters(this);"> 问题我解决了,和我上面的没关系,是FF中的history.back()不好用. 要+个return false<p><a href="#" onclick="history.back();return false">返回上一页</a></p> 我没在意这个.分分拉。 请问List集合存了几个字符串,我要获取第几个字符串的时候,结果越界了,如何解决? swing判断程序是否已经运行 Struts2.1能用 ${param['user.name']}这样的写法么 关于EJB的分层问题 请教一个问题 SPRING小问题 这个HQL 要怎样写急急!!! 一个令我十分困惑的问题,大家进来讨论一下,有经验的可以发表。 ejb中如何传送大对象?? ?? 求一条SQL语句 JSP input:file中的值如何通过JavaScript存到input :hidden中
<input type="hidden" name="status" value="register">改为:<html:form action="jsp/account.do?status=register" method="post">
难道我用input来提供status就不行马?我去试下。
<script>
function addParamters(obj){
obj.status.value='register';
return true;
}
</script><html:form action="jsp/account.do" method="post" onsubmit="return addParamters(this);">
<p><a href="#" onclick="history.back();return false">返回上一页</a></p>
我没在意这个.分分拉。