return mapping.findFoward("xxx",true);

解决方案 »

  1.   

    在ActionMapping的设置中对forward使用redirect="true"属性
      

  2.   

    在配置文件struts-config.xml中的    
    <action-mappings>
            <action />                    <forward
                        name="success"
                        path="/confirmation.jsp"
                        redirect="true"  />             ==========添加这一句就行了
            </action>
        </action-mappings>
      

  3.   

    return mapping.findFoward("main.do?action=view",true);