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

📄 updatepublishinfojsp_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 UpdatePublishInfoJsp_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>UpdatePublishInfoJsp</title>\r\n\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=\"updatepublishinfoservlet\" method=\"post\">\r\n\r\n<table border=\"0\" align=\"center\">\r\n");

  String Publish_ID = request.getParameter("Publish_ID");
  List publishList = null;
  try {
    publishList = PublishInfoData.beanpublish(Publish_ID);
    PublishInfoBean PublishInfo = null;

      out.write('\r');
      out.write('\n');

  for (int i = 0; i < publishList.size(); i++) {
    PublishInfo = (PublishInfoBean) publishList.get(i);

      out.write("\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社ID</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_ID\" type=\"text\"  value=\"");
      out.print(PublishInfo.getPublish_ID());
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社名称</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_Name\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_Name() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社地址</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_Addr\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_Addr() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社邮编</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_Code\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_Code() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社邮箱</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_Email\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_Email() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社手机电话</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_Tel\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_Tel() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社座机电话</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_SeatTel\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_SeatTel() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社联系人</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_LinkMan\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_LinkMan() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社网址</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_NetAddr\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_NetAddr() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">出版社传真</td>\r\n    <td align=\"center\">\r\n      <input name=\"Publish_Fax\" type=\"text\" value=\"");
      out.print(PublishInfo.getPublish_Fax() );
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td align=\"center\" width=\"100\">备注</td>\r\n    <td align=\"center\">\r\n      <input name=\"Remark\" type=\"text\" value=\"");
      out.print(PublishInfo.getRemark());
      out.write("\"/>\r\n    </td>\r\n  </tr>\r\n");

  }
  } catch (Exception e) {
  }
  finally {
    PublishInfoData.finalize();
  }

      out.write("\r\n  <tr>\r\n    <td align=\"center\" width=\"150\">    </td>\r\n    <td align=\"center\" width=\"150\">\r\n      <input type=\"submit\" value=\"修改\" name=\"submit\"/>\r\n      <input type=\"reset\" value=\"重置\" name=\"reset\">\r\n    </td>\r\n  </tr>\r\n</table>\r\n</form>\r\n</body>\r\n</html>\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 + -