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

📄 searchbypk_0002ejsp_jsp.java

📁 经典的“固定资产管理系统”JSP源代码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package query.Assettype;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class SearchByPK_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public SearchByPK_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    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;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html; charset=GBK");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(0,48);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(1,66);to=(4,0)]
                out.write("\r\n\r\n\r\n");

            // end
            // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(4,58);to=(5,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(5,58);to=(6,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(6,60);to=(7,0)]
                out.write("\r\n");

            // end
            // begin [file="/query/Assettype/SearchByPK.jsp";from=(7,0);to=(7,50)]
                /* ----  html:form ---- */
                org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = new org.apache.struts.taglib.html.FormTag();
                _jspx_th_html_form_0.setPageContext(pageContext);
                _jspx_th_html_form_0.setParent(null);
                _jspx_th_html_form_0.setMethod("post");
                _jspx_th_html_form_0.setAction("/Assettype/view");
                try {
                    int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
                    if (_jspx_eval_html_form_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                        throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                    if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                        // end
                        // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(7,50);to=(38,115)]
                            out.write("\r\n\r\n  <table bgcolor=\"#666666\" cellpadding=\"1\" cellspacing=\"0\" border=\"0\" width=\"500\">\r\n<tr>\r\n<td>\r\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"500\">\r\n<tr>\r\n<td bgcolor=\"#fecc51\">&nbsp;</td>\r\n</tr>\r\n</table>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"500\">\r\n    <tr>\r\n<td bgcolor=\"#d6e0ed\">按主键查询</td>\r\n</tr>\r\n<tr bgcolor=\"#FFFFFF\">\r\n<td width=\"5%\"></td><td width=\"19%\"></td><td width=\"76%\"></td>\r\n</tr>\r\n    <tr>\r\n<td>\r\n<table bgcolor=\"#f2f2f2\" width=\"500\" cellspacing=\"0\" border=\"0\">\r\n      <tr bgcolor=\"#FFFFFF\">\r\n<td width=\"5%\"></td><td width=\"19%\"></td><td width=\"76%\"></td>\r\n</tr>\r\n<tr bgcolor=\"#FFFFFF\">\r\n<td width=\"5%\"></td><td width=\"19%\"></td><td width=\"76%\"></td>\r\n</tr>\r\n      <tr>\r\n<td width=\"5%\"></td><td width=\"19%\"><font color=\"#022077\" size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>");

                        // end
                        // begin [file="/query/Assettype/SearchByPK.jsp";from=(38,115);to=(38,160)]
                            /* ----  bean:message ---- */
                            org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = new org.apache.struts.taglib.bean.MessageTag();
                            _jspx_th_bean_message_0.setPageContext(pageContext);
                            _jspx_th_bean_message_0.setParent(_jspx_th_html_form_0);
                            _jspx_th_bean_message_0.setKey("Assettype.assettypename");
                            try {
                              int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
                              if (_jspx_eval_bean_message_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                              throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                          if (_jspx_eval_bean_message_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                              do {
                          // end
                          // begin [file="/query/Assettype/SearchByPK.jsp";from=(38,115);to=(38,160)]
                          } while (_jspx_th_bean_message_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_message_0.release();
                  }
              // end
              // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(38,160);to=(38,221)]
                  out.write("</b></font></td><td width=\"76%\"><font size=\"2\" face=\"Tahoma\">");

              // end
              // begin [file="/query/Assettype/SearchByPK.jsp";from=(38,221);to=(38,268)]
                  /* ----  html:text ---- */
                  org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = new org.apache.struts.taglib.html.TextTag();
                  _jspx_th_html_text_0.setPageContext(pageContext);
                  _jspx_th_html_text_0.setParent(_jspx_th_html_form_0);
                  _jspx_th_html_text_0.setProperty("assettypename");
                  _jspx_th_html_text_0.setSize("50");
                  try {
                      int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
                      if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          try {
                              if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_text_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_text_0.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/query/Assettype/SearchByPK.jsp";from=(38,221);to=(38,268)]
                          } while (_jspx_th_html_text_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_text_0.release();
              }
          // end
          // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(38,268);to=(43,14)]
              out.write("</font></td>\r\n</tr>\r\n    <tr bgcolor=\"#FFFFFF\">\r\n<td width=\"5%\"></td><td width=\"19%\"></td><td width=\"76%\">\r\n\r\n              ");

          // end
          // begin [file="/query/Assettype/SearchByPK.jsp";from=(43,14);to=(43,37)]
              /* ----  logic:messagesPresent ---- */
              org.apache.struts.taglib.logic.MessagesPresentTag _jspx_th_logic_messagesPresent_0 = new org.apache.struts.taglib.logic.MessagesPresentTag();
              _jspx_th_logic_messagesPresent_0.setPageContext(pageContext);
              _jspx_th_logic_messagesPresent_0.setParent(_jspx_th_html_form_0);
              try {
                  int _jspx_eval_logic_messagesPresent_0 = _jspx_th_logic_messagesPresent_0.doStartTag();
                  if (_jspx_eval_logic_messagesPresent_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                      throw new JspTagException("Since tag handler class org.apache.struts.taglib.logic.MessagesPresentTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                  if (_jspx_eval_logic_messagesPresent_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      do {
                      // end
                      // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(43,37);to=(44,16)]
                          out.write("\r\n                ");

                      // end
                      // begin [file="/query/Assettype/SearchByPK.jsp";from=(44,16);to=(44,51)]
                          /* ----  bean:message ---- */
                          org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = new org.apache.struts.taglib.bean.MessageTag();
                          _jspx_th_bean_message_1.setPageContext(pageContext);
                          _jspx_th_bean_message_1.setParent(_jspx_th_logic_messagesPresent_0);
                          _jspx_th_bean_message_1.setKey("errors.header");
                          try {
                              int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
                              if (_jspx_eval_bean_message_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                              throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                          if (_jspx_eval_bean_message_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                              do {
                          // end
                          // begin [file="/query/Assettype/SearchByPK.jsp";from=(44,16);to=(44,51)]
                          } while (_jspx_th_bean_message_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_message_1.release();
                  }
              // end
              // HTML // begin [file="/query/Assettype/SearchByPK.jsp";from=(44,51);to=(46,18)]
                  out.write("\r\n                <ul>\r\n                  ");

              // end
              // begin [file="/query/Assettype/SearchByPK.jsp";from=(46,18);to=(46,44)]
                  /* ----  html:messages ---- */
                  org.apache.struts.taglib.html.MessagesTag _jspx_th_html_messages_0 = new org.apache.struts.taglib.html.MessagesTag();
                  _jspx_th_html_messages_0.setPageContext(pageContext);
                  _jspx_th_html_messages_0.setParent(_jspx_th_logic_messagesPresent_0);
                  _jspx_th_html_messages_0.setId("error");
                  try {
                      int _jspx_eval_html_messages_0 = _jspx_th_html_messages_0.doStartTag();
                      if (_jspx_eval_html_messages_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          try {
                              if (_jspx_eval_html_messages_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_messages_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_messages_0.doInitBody();
                          }
                          do {
                              java.lang.String error = null;
                              error = (java.lang.String) pageContext.findAttribute("error");
                          // end

⌨️ 快捷键说明

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