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

📄 querypets_jsp.java

📁 基于mvc的宠物管理系统。servlet+jsp
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp.context;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

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

  private static java.util.Vector _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_var_items;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;

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

  public void _jspInit() {
    _jspx_tagPool_c_forEach_varStatus_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_c_forEach_varStatus_var_items.release();
    _jspx_tagPool_c_if_test.release();
  }

  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=GBK");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"error.jsp", 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\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("  <head>\r\n");
      out.write("    <title>queryemployee</title>\r\n");
      out.write("    <style type=\"text/css\">\r\n");
      out.write("      body{font-size:12px}\r\n");
      out.write("      td{font-size:12px; text-align:center}\r\n");
      out.write("      th{font-size:13px;color:#3a64a2}\r\n");
      out.write("      a:link { COLOR:#09355E;TEXT-DECORATION: none;}\r\n");
      out.write("      a:visited{COLOR:#09355E;TEXT-DECORATION: none;}\r\n");
      out.write("      a:hover{COLOR:#3A64A2;TEXT-DECORATION: none;}\r\n");
      out.write("    .STYLE1 {color: #FF0000}\r\n");
      out.write("    </style>\r\n");
      out.write("<script type=\"text/javascript\" language=\"javascript\">\r\n");
      out.write("function userConfirm()\r\n");
      out.write("{\r\n");
      out.write("\tvar re=window.confirm(\"您确定要删除该员工信息吗?\");\r\n");
      out.write("\tif(re)\r\n");
      out.write("\treturn;\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("  </head>\r\n");
      out.write("  <body bgcolor=\"#f7f8fd\">\r\n");
      out.write("    <table align=\"center\" order=\"0\" cellspacing=\"00\">\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td>\r\n");
      out.write("          <img src=\"images/bt2.gif\"/>\r\n");
      out.write("        </td>\r\n");
      out.write("        <td>当前操作:<span class=\"STYLE1\">宠物基本信息</span></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("    <br>\r\n");
      out.write("    <table width=\"90%\" align=\"center\">\r\n");
      out.write("      <tr valign=\"middle\" align=\"left\">\r\n");
      out.write("        <td>\r\n");
      out.write("          <form action=\"petscontrol\">\r\n");
      out.write("            <table border=\"0\" align=\"center\" cellspacing=\"1\" bgcolor=\"#c8d8ef\" width=\"100%\">\r\n");
      out.write("              <tr bgcolor=\"#ffffff\">\r\n");
      out.write("                <td height=\"23\"><div align=\"left\">【宠物基本信息查询】</div><input type=\"hidden\" name=\"param\" value=\"querybydetail\" /></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("              <tr bgcolor=\"#ffffff\" >\r\n");
      out.write("                <td valign=\"middle\" align=\"left\" height=\"23\">                  <div align=\"left\">宠物名称:\r\n");
      out.write("                  <input type=\"text\" style=\"WIDTH: 80px; HEIGHT: 19px\" size=\"10\" name=\"petsname\"/>\r\n");
      out.write("                  种类:\r\n");
      out.write("                  <input type=\"text\" style=\"WIDTH: 80px; HEIGHT: 19px\" size=\"10\" name=\"petstype\"/>\r\n");
      out.write("                  主人名称:\r\n");
      out.write("                  <input type=\"text\" style=\"WIDTH: 80px; HEIGHT: 19px\" size=\"10\" name=\"petsowner\"/>\r\n");
      out.write("                  <input type=\"submit\" style=\"WIDTH: 40px; HEIGHT: 20px\" value=\"查询\"/>\r\n");
      out.write("                  <input type=\"reset\" style=\"WIDTH: 40px;HEIGHT: 20px\" value=\"取消\"/>\r\n");
      out.write("                </div></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("            </table>\r\n");
      out.write("          </form>\r\n");
      out.write("        </td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("    <table width=\"90%\" border=\"0\" align=\"center\" cellspacing=\"1\" bgcolor=\"#c8d8ef\">\r\n");
      out.write("      <tr bgcolor=\"#c8d8ef\">\r\n");
      out.write("        <th height=\"25\">宠物名称</th>\r\n");
      out.write("        <th>出生日期</th>\r\n");
      out.write("        <th>种类</th>\r\n");
      out.write("        <th>主人姓名</th>\r\n");
      out.write("        <th>操作</th>\r\n");
      out.write("      </tr>\r\n");
      out.write("      ");
      if (_jspx_meth_c_forEach_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("    </table>\r\n");
      out.write("    <table border=\"0\" align=\"center\">\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td>\r\n");
      out.write("          <a href=\"petscontrol?param=query&pageNumber=firstPage\" target=\"mainFrame\">首页</a>\r\n");
      out.write("        </td>\r\n");
      out.write("        ");
      if (_jspx_meth_c_if_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("        ");
      if (_jspx_meth_c_if_1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("        <td>\r\n");
      out.write("          <a href=\"petscontrol?param=query&pageNumber=endPage\" target=\"mainFrame\">末页</a>\r\n");
      out.write("        </td>\r\n");
      out.write("        <td>          共\r\n");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.petsTotalPage}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("          页\r\n");
      out.write("        </td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("  </body>\r\n");

⌨️ 快捷键说明

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