文档介绍:下面方法是基于 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