response.sendRedirect("你要跳的页面.jsp");

解决方案 »

  1.   

    if (条件){
      response.sendRedirect("满足条件跳的页面.jsp");
    }
    else{
      response.sendRedirect("不满足条件跳的页面.jsp");
    }
      

  2.   

    <logic:forward>标记用于进行全局转发,使用到该标记的页面一般不再编写其它内容,因为随着转发,页面将跳转。
    <logic:redirect>标记用于进行重定向请求。
      

  3.   

    是否response.setHeader("refresh","2;url=地址");
      

  4.   

    而且我是需要跳转到action中的
    response.setHeader("refresh","2;url=地址");
    这个好像不可以在url里面写.do
    response.sendRedirect("不满足条件跳的页面.jsp");
    这个不能定时吧?