E.G:
      <script language="JavaScript"> 
function excel(){
<!-- 将结果集已经放在页面上的情况下,list所有查询的结果集-->
        <%com.buaa.javax.datastore.Datastore excelDS = (com.buaa.javax.datastore.Datastore)request.getAttribute("excelDS");
if(excelDS==null||excelDS.rowCount()<1){
%>
  alert("没有相关记录,不能导出!");
<%
}else{
        request.getSession().setAttribute("excelDS",excelDS);%>
window.open('app/XXX/report/talk/particular/ParticularExcel.jsp','导出Excel','location=no');
<%}%>
    
}
      </script>
在JSP导出Excel功能已经实现,但是还要导出XML、TXT、ACCESS等。
如果按照上述实现导出Excel的方式,怎么实现导出XML、TXT、ACCESS等功能??????????谢谢大家,定有重谢!