你可以在Servlet将取到的数据作一下封装。
然后序列化,再返回Jsp可以参考
http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/ResultSetDynaClass.html

解决方案 »

  1.   

    可以用STRUTS,通过FORM BEAN返回!!!
      

  2.   

    如果不用框架,那我觉得用session还是最方便的,不过用完之后一定要清掉,否则严重降低效率
      

  3.   

    可以作为jsp页面的request属性传递给jsp页面。
      

  4.   

    1.Servlet端 
       request.setAttribute("dataset", "your result")
        RequestDispatcher dispatcher =
            getServletContext().getRequestDispatcher(<YOUR JSP FILE>);
        dispatcher.forward(request,response);
    2.JSP页面
       <Collection> resultSet = <Collection> request.getAttribute("dataset");