有人说是TOMCAT的版本问题,我的是5.X.

解决方案 »

  1.   

    does not contain handler parameter named 'status'.  This may be caused by whitespace in the label text看看status哪个地方多了空白
      

  2.   

    <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">
      

  3.   

    另外你的action中也应当定义了register方法吧
      

  4.   


    难道我用input来提供status就不行马?我去试下。
      

  5.   

    错误的原因是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);"> 
      

  6.   

    问题我解决了,和我上面的没关系,是FF中的history.back()不好用. 要+个return false
    <p><a href="#" onclick="history.back();return false">返回上一页</a></p>
      我没在意这个.分分拉。