看不出什么头绪.
loginSuccess.jsp代码是什么?

解决方案 »

  1.   

    我想了想 还是把loginSuccess加上几句代码 把浏览器的缓冲去掉 然后做个连接跳转到menu(还要写action,我把所有的jsp都放在了WEB-INF下,不能直接访问,只能通过Action forward,能不能直接forward到一个jsp,不用通过action呢? 或者说不需要指定action的type呢?loginSuccess.jsp  
    ---------------------<%@ include file="taglibs.jsp" %>
    <%
    //response.setHeader("Pragma","No-cache");
    //response.setHeader("Cache-Control","no-cache");
    //response.setDateHeader("Expires", 0);
    //加了上边3句 就不能用浏览器返回了 但是还是能刷新
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html:html locale="true">
      <head>
        <html:base />
        
        <title>LoginSuccess</title>
        
        <meta http-equiv="pragma" content="no-cache">
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="expires" content="0">    
        <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
        <meta http-equiv="description" content="This is my page">
      </head>
      
      <body>
        Hello <%=session.getAttribute("UserName")%>
        <br/>
      <html:link forward="mainmenu"><bean:message key="userlogin.mainmenu"/></html:link>
     
      </body></html:html>
      

  2.   

    struts的同步令牌机制及解决Form重复提交问题:http://www.javawebstudio.com/bbs/dispbbs.asp?boardID=44&ID=216&page=1http://www.javawebstudio.com/bbs/dispbbs.asp?boardID=44&ID=118&page=1