本帖最后由 haijeen 于 2009-07-20 11:21:40 编辑

解决方案 »

  1.   

    你在你的JSP页面将list遍历出来就行了。
    1.在action中将list放在request中request.setAttribute("list",list);
    2.在jsp页面,引入jstl核心标签库。
    <taable>
    <c:forEach items="${list}" var="d">
    <tr>
    <td>
    ${d.xxxxx}
    </td>
    </tr>
    </c:forEach>
    </table>
    当然用struts标签遍历也行。
      

  2.   

    要么你的欢迎页面访问路径设置为indexAction,先到里面处理 ,再在页面显示
    或者你的欢迎页面访问路径设置为index.jsp,里面用<jsp:forword >进行自动跳转啊
      

  3.   

    http://zhidao.baidu.com/question/60093950
    参考 这里的实现。
      

  4.   

    用ajax就能轻松搞定你的问题,建议学习jQuery