最好用scope="request"
在action中传递该值

解决方案 »

  1.   

    因为我这个form内的域很多,而且我的wizard是走了5页。所以还是用session更合适,但是我现在就是在用完了以后,还没有找到办法从session中移去这个form。
      

  2.   

    request.getSession().setAttribute("formbean 的name",null);
      

  3.   

    request.getSession().removeAttribute("formbean 的name");
    也就是你在struts-config.xml上注册的名字。