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

📄 displaypublishinfojsp_jsp.java

📁 教材管理系统
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import bean.*;
import java.util.*;

public final class DisplayPublishInfoJsp_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=GB2312");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write('\r');
      out.write('\n');
      bean.PublishInfoDataBean PublishInfoData = null;
      synchronized (request) {
        PublishInfoData = (bean.PublishInfoDataBean) _jspx_page_context.getAttribute("PublishInfoData", PageContext.REQUEST_SCOPE);
        if (PublishInfoData == null){
          PublishInfoData = new bean.PublishInfoDataBean();
          _jspx_page_context.setAttribute("PublishInfoData", PublishInfoData, PageContext.REQUEST_SCOPE);
        }
      }
      out.write("\r\n<html>\r\n  <head>\r\n    <title>DisplayPublishInfoJsp</title>\r\n  </head>\r\n  <body bgcolor=\"#FFFFFF\">\r\n    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "AdminMainFrame.jsp", out, true);
      out.write("\r\n    <br>\r\n    <table width=\"90%\" style=\"height=2%\" border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"2\">\r\n      <tr bgcolor=\"#333333\">\r\n        <td height=\"22\" bgcolor=\"#FFFFCC\">\r\n          <font color=\"#000000\">\r\n            <strong>出版社信息</strong>\r\n          </font>\r\n        </td>\r\n      </tr>\r\n    </table>\r\n       <form action=\"deletepublishservlet\" method=\"POST\">\r\n    <table width=100% style=\"height:10%\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\">\r\n    ");

      List PublishInfoList = null;
      try {
        PublishInfoList = PublishInfoData.getPublishInfoList();
      }
      catch (Exception e) {
      }
      Iterator PublishInfoListIterator = PublishInfoList.iterator();
      PublishInfoBean PublishInfo;
    
      out.write("\r\n      <tr>\r\n        <td width=\"4%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE4\">删除</div>\r\n        </td>\r\n        <td width=\"9%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE4\">出版社ID</div>\r\n        </td>\r\n        <td width=\"10%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE4\">出版社名称</div>\r\n        </td>\r\n        <td width=\"13%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE3\">出版社地址</div>\r\n        </td>\r\n        <td width=\"7%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE4\">出版社邮编</div>\r\n        </td>\r\n        <td width=\"9%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE4\">出版社邮箱</div>\r\n        </td>\r\n        <td width=\"9%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE4\">出版社联系手机电话</div>\r\n        </td>\r\n        <td width=\"15%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE3\">出版社座机联系电话</div>\r\n        </td>\r\n        <td width=\"200\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE4\">出版社联系人</div>\r\n        </td>\r\n        <td width=\"200\" bgcolor=\"\">\r\n");
      out.write("          <div align=\"center\" class=\"STYLE3\">出版社网址</div>\r\n        </td>\r\n        <td width=\"200\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE3\">出版社传真</div>\r\n        </td>\r\n        <td width=\"15%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE3\">备注</div>\r\n        </td>\r\n        <td width=\"20%\" bgcolor=\"\">\r\n          <div align=\"center\" class=\"STYLE3\">操作</div>\r\n        </td>\r\n      ");

        while (PublishInfoListIterator.hasNext()) {
          PublishInfo = (PublishInfoBean) PublishInfoListIterator.next();
      
      out.write("\r\n\r\n\r\n      <tr>\r\n        <td>\r\n          <input type=\"checkbox\" name=\"Publish_ID\" value=\"");
      out.print(PublishInfo.getPublish_ID());
      out.write("\">\r\n        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_ID());
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_Name() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_Addr() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_Code() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_Email() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_Tel() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_SeatTel() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_LinkMan() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_NetAddr() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getPublish_Fax() );
      out.write("        </td>\r\n        <td>");
      out.print(PublishInfo.getRemark() );
      out.write("        </td>\r\n        <td>\r\n          <a href=\"deletepublishservlet?Publish_ID=");
      out.print(PublishInfo.getPublish_ID());
      out.write("\">删除</a>\r\n          <a href=\"UpdatePublishInfoJsp.jsp?Publish_ID=");
      out.print(PublishInfo.getPublish_ID());
      out.write("\">修改</a>\r\n        </td>\r\n      </tr>\r\n    ");

      }
          PublishInfoData.finalize();
    
      out.write("\r\n    </table>\r\n    <td>\r\n      <input type=\"submit\" value=\"删除\">\r\n    </td>\r\n</form>\r\n<a href=\"AddPublishInfoJsp.jsp\">增加</a>\r\n  </body>\r\n  <html>\r\n\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

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