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

📄 50eafb8cbe0d001d131be4803f486f0b

📁 实训时做的物流系统
💻
字号:
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ 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"%>
<%@page import="com.lib.biz.MarcAnalyze"%>
<%@page import="com.lib.persistence.hibernate.pojo.Book"%>
<%request.setCharacterEncoding("GBK"); %>
<html>
<head>
<title> MARC导入 </title>
<%
    Marc marc = new Marc();
    marc = (Marc)request.getAttribute("marc");
    String sign = (String)request.getAttribute("sign");
    request.setAttribute("be",sign);
%>
</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="2" width="100%" bgcolor="white">
     <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>");
         }
     Book book = MarcAnalyze.getInstance().MarcSort(marc);
     %>
   </table>
   <hr style="margin-top:0px;" width="25%" align="left"/>
   <!-- 此处Form设置隐藏框,提交Book各项属性值以编目 -->
   <html:form action="/marcBookViewAction">
      <html:hidden property="book.isbn" value="<%=book.getIsbn()%>"></html:hidden>
      <html:hidden property="book.price" value="<%=book.getPrice()%>"></html:hidden>
      <html:hidden property="book.bookname" value="<%=book.getBookname()%>"></html:hidden>
      <html:hidden property="book.bookconcern" value="<%=book.getBookconcern()%>"></html:hidden>
      <html:hidden property="book.author" value="<%=book.getAuthor()%>"></html:hidden>
      <html:hidden property="book.classifynum" value="<%=book.getClassifynum()%>"></html:hidden>
      <html:submit value="细化整理后编目"></html:submit>
   </html:form>
</logic:notEmpty>
</body>
</html>

⌨️ 快捷键说明

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