1 / 3
文档名称:

JSP导出excel表.doc

格式:doc   页数:3
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

JSP导出excel表.doc

上传人:xxj16588 2016/6/30 文件大小:0 KB

下载得到文件列表

JSP导出excel表.doc

相关文档

文档介绍

文档介绍:下面方法是基于 Struct, 主要是实现基础数据的填充 public ActionForward ljAllReportExport(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response){ LJBaseInfoForm theForm =(LJBaseInfoForm)form; ActionForward forward = null ; try { String pkId = ( "key" ); // 获得传递过来主键; SimpleDateFormat df= new SimpleDateFormat( "yyyy-MM-dd" ); StringBuffer strBuf = new StringBuffer(); String tableTd = ""; bll = (getServerId(request)); List idList = (( "," )); ArrayList list = new ArrayList(); for ( int i=0; i<(); i++){ LJBaseInfoVO vo =((String)(i)); ( "<tr class=\"inputTd\">" ); ( "<td>" +()+ "</td>" ); ( "<td>" +()+ "</td>" ); ( "<td>" +(()== null ? "" :())+ "</td>" ); ( "<td>" +(()== null ? "" :())+ "</td>" ); ( "<td>" +(()== null ? new Double(0):())+ "</td>" ); ( "<td>" +(()== null ? new Double(0):())+ "</td>" ); ( "<td>" +(())+ "</td>" ); ( "<td>" +(()== null ? "" :())+ "</td>" ); ( "</tr>" ); } tableTd = (); ( "t