Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\admin\media\importPurchase.jsp
??<%@ page contentType="text/html;charset=utf-8" %> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>??????????????</title> <link rel="stylesheet" type="text/css" href="/style/style.css" /> <script language="javascript" type="text/javascript" src="/js/datepicker/WdatePicker.js"></script> <style> body{font-size:14px;color:#000;background:#fff;} </style> </head> <body> <div class="crumbs tl">????????????????? >> ??????????? </div> <div class="mainCon"> <form id="importPurchaseForm" name="importPurchase" action="importPurchase.action" method="post" enctype="multipart/form-data"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="addTable"> <s:if test="task!=null && task.isCanPurchase()"> <tr > <td width="20%">excel???</td> <td width="auto"> <input class="textIn1" type="file" name="excel" id="excel" value="" style="width:500px;"/> </td> </tr> </s:if> <s:else> <tr > <td width="20%"> </td> <td width="auto"> ????????????????? </td> </tr> </s:else> <tr > <td> </td> <td align="left"> <input type="button" class="searchBtn" onclick="dosubmit();" value="???" /> <a href="/admin/media/template_purchase.xls" target="_blank">?????????</a> <font color="red"><s:property value="info" /></font> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="addTable"> <tr > <td width="25%" align="center">???</td> <td width="20%" align="center">????</td> <td width="20%" align="center">?????</td> <td width="15%" align="center">??????</td> <td width="20%" align="center">ISBN</td> </tr> <s:iterator value="listModel.source" status="obj"> <tr > <td>${title }</td> <td>${author }</td> <td>${publisher }</td> <td>${publishDate }</td> <td>${isbn }</td> </tr> </s:iterator> <tr > <td colspan="5"> <s:property value="@com.chineseall.util.page.PageUtil@getPageListView(listModel.pagingFilter)" escape="false"/> </td> </tr> </table> </form> </div> <script type="text/javascript"> function dosubmit() { var obj; obj = document.getElementById("excel"); if(obj.value=="") { alert("??????excel???"); return; } document.getElementById("importPurchaseForm").submit(); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de