那其实你这个界面等于什么都不做.你可以直接在ie的地址栏里输入你的action.
比如这样:
    http://localhost:8080/admin/listArea.action
当然你的action要有返回所有数据的功能,还有你的action要配置正确.

解决方案 »

  1.   

    <body onload="haha.do">
    </body>
      

  2.   

    可以通过链接<html>
       <head>
          <title>index.jsp</title>
       </head>
      
       <a href="/wp/SelectAction.do">select from here</a>
    </html>
    struts-config.xml
     <action    path      = "/SelectAction"
                   type      = "custom.action.SelectAction"
                   name      = "BookForm"
                   scope     = "request"
        >
            <forward name="view" path="/jsp/view.jsp" />
        </action>还可以通过按钮结合javascript onclick 函数