以前我问过的问题:
http://expert.csdn.net/Expert/topic/1646/1646202.xml?temp=.2253382

解决方案 »

  1.   

    <%
    String step=request.getParameter("step");
    if(step!=null&&stemp.equals("1")){
      out.print("111111111");
    else{
    %>
    <form method="post" action="">
    <input type="text" name="id">
    <input type="hidden" name="step" value="1">
    </form>
    <%
    }
    %>
      

  2.   

    if(oper!=null){
       //处理过程   
       response.sendRedirect("xxx.jsp");  //xxx.jsp 为当前文件 
       }
      

  3.   

    使用同步令牌。具体的我忘记了,你搜索一下论坛,曾经看到过,或者你到google搜索。
    同步令牌也是j2ee设计模式的一部分
      

  4.   

    如crazymens(风)所说,使用同步令牌。
    J2EE核心模式 书上有介绍如果使用Struts,提供了对同步令牌的支持。