⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 f0e68c3c1e0d001d16c8d179a3e178be

📁 实训时做的物流系统
💻
字号:
<%@ page contentType="text/html;charset=gbk" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<html:xhtml/>
<%@page import="com.lib.cls.Marc"%>
<%@page import="java.util.List"%>
<html>
<head>
<title> MARC导入 </title>
<%
    try{
    	Marc  marc = (Marc)request.getAttribute("marc");
    	request.setAttribute("be","be");
    }catch(Exception e){
    	request.setAttribute("be","");
    }


%>
</head>
<body bgcolor="#999999">
<html:errors/>
<h1 align="left" style="margin-left:50px;color:#ffffff">MARC导入 </h1>
<hr style="margin-top:0px;"/>
   <html:form action="/marcInsertAction" method="post">
   Marcfile:
   <html:file property="marcfile"></html:file>
   <html:submit property="Submit" value="导入"/>
   <html:reset value="重置"/>
</html:form>

<logic:notEmpty name="be">
  <table border="3" width="100%">
     <tr>
      <th align="right">
         头标
       </th>
       <th align="left">
         明细
       </th>
     </tr>
     <%
     List head = marc.getHead();
     List content = marc.getContent();
     int n,m=head.size();
     for(n=0;n<m;n++){
    	 out.println("<tr>");
    	 out.println("<td align="+"right"+">");
    	 out.println(head.get(n));
    	 out.println("</td>");
    	 out.println("<td align="+"left"+">");
    	 out.println(content.get(n));
    	 out.println("</td>");
    	 out.println("</tr>");
         }
     %>
   </table>
</logic:notEmpty>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -