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

📄 price_0002ejsp_jsp.java

📁 对项目
💻 JAVA
字号:
import java.util.*;
import zhaobiao.db.*;
import zhaobiao.data.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class price_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public price_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="/price.jsp";from=(0,48);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/price.jsp";from=(1,31);to=(2,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/price.jsp";from=(2,49);to=(3,0)]
                out.write("\r\n");

            // end
            // begin [file="/price.jsp";from=(3,2);to=(16,0)]
                
                  Basic bs=new Basic();
                  Price price=new Price();
                  Maker mk=new Maker();
                  long id=1;
                  if(request.getParameter("id")!=null)
                    id=Long.parseLong(request.getParameter("id").trim());
                  long mkid=1;
                  if(request.getParameter("mkid")!=null)
                    mkid=Long.parseLong(request.getParameter("mkid").trim());
                  mk=bs.getMaker(mkid);
                  price=bs.getPrice(id);
                
            // end
            // HTML // begin [file="/price.jsp";from=(16,2);to=(82,29)]
                out.write("\r\n<html>\r\n<head>\r\n<title>xxx</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\">\r\n<script language=\"JavaScript\">\r\n<!--\r\n\r\nfunction MM_popupMsg(msg) { //v1.0\r\n  alert(msg);\r\n}\r\n\r\n  function checknull()\r\n {\r\n\r\n  var a=document.form1.keys.value;\r\n    if(a==\"\")\r\n      {\r\n       alert(\"关键字不能为空!\");\r\n        return false;\r\n      }\r\n      else\r\n  return true;\r\n\r\n}\r\n//-->\r\n</script>\r\n</head>\r\n<body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n<center>\r\n<table width=\"776\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"103\">\r\n\r\n  <tr>\r\n      <td height=\"65\"> <a href=\"index.jsp\"><img src=\"images/zhaobiao_01.jpg\" width=\"777\" height=\"89\" align=\"absbottom\" border=\"0\"></a></td>\r\n  </tr>\r\n  </table>\r\n  <a href=\"product1.jsp\">产品信息</a> <a href=\"project1.jsp\">项目信息</a> <a href=\"maker1.jsp\">厂商信息</a>\r\n<table width=\"774\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"126\">\r\n  <tr>\r\n      <td colspan=\"2\" align=\"center\" height=\"76\">\r\n        <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" align=\"center\">\r\n        <tr bgcolor=\"0092B8\">\r\n          <td>\r\n            <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"#FFFFFF\">\r\n              <tr align=\"center\">\r\n                  <td>\r\n                    <table width=\"764\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\r\n                      <tr align=\"center\" bgcolor=\"E1D1B7\">\r\n                        <td height=\"25\" align=\"center\" colspan=\"13\" width=\"758\"><b>投标商报价信息</b></td>\r\n                      </tr>\r\n                      <tr bgcolor=\"F6F2E6\">\r\n                        <td height=\"25\" align=\"center\" width=\"72\"><font color=\"#FF0000\">\r\n                          投标厂商名称</font></td>\r\n\r\n                        <td align=\"center\" width=\"52\"><font color=\"#FF0000\">设备总价</font></td>\r\n                        <td align=\"center\" width=\"92\"><font color=\"#FF0000\">备件和特殊工具总价</font></td>\r\n                        <td align=\"center\" width=\"72\"><font color=\"#FF0000\">技术服务总价</font></td>\r\n                        <td align=\"center\" width=\"62\"><font color=\"#FF0000\">选项件总价</font></td>\r\n                        <td align=\"center\" width=\"107\"><font color=\"#FF0000\">配套工程费</font></td>\r\n                        <td align=\"center\" width=\"105\"><font color=\"#FF0000\">国内投标商投标总价</font></td>\r\n                        <td align=\"center\" width=\"76\"><font color=\"#FF0000\">投标保证金</font></td>\r\n                        <td align=\"center\" width=\"88\"><font color=\"#FF0000\">交货期</font></td>\r\n                      </tr>\r\n                      <tr bgcolor=\"F6F2E6\" align=\"center\">\r\n                        <td height=\"25\" width=\"72\">\r\n                          <p>");

            // end
            // begin [file="/price.jsp";from=(82,32);to=(82,50)]
                out.print(mk.getMaker_name());
            // end
            // HTML // begin [file="/price.jsp";from=(82,52);to=(84,39)]
                out.write("</p>\r\n                        </td>\r\n                        <td width=\"52\">");

            // end
            // begin [file="/price.jsp";from=(84,41);to=(84,111)]
                if(price.getDevice_price()!=null)out.println(price.getDevice_price());
            // end
            // HTML // begin [file="/price.jsp";from=(84,113);to=(85,39)]
                out.write("</td>\r\n                        <td width=\"92\">");

            // end
            // begin [file="/price.jsp";from=(85,41);to=(85,107)]
                if(price.getTool_price()!=null)out.println(price.getTool_price());
            // end
            // HTML // begin [file="/price.jsp";from=(85,109);to=(86,39)]
                out.write("</td>\r\n                        <td width=\"72\">");

            // end
            // begin [file="/price.jsp";from=(86,41);to=(86,114)]
                if(price.getService_price()!=null)out.println(price.getService_price()); 
            // end
            // HTML // begin [file="/price.jsp";from=(86,116);to=(87,39)]
                out.write("</td>\r\n                        <td width=\"62\">");

            // end
            // begin [file="/price.jsp";from=(87,41);to=(87,116)]
                if(price.getOptional_price()!=null)out.println(price.getOptional_price()); 
            // end
            // HTML // begin [file="/price.jsp";from=(87,118);to=(88,40)]
                out.write("</td>\r\n                        <td width=\"107\">");

            // end
            // begin [file="/price.jsp";from=(88,42);to=(88,111)]
                if(price.getRePro_price()!=null)out.println(price.getRePro_price()); 
            // end
            // HTML // begin [file="/price.jsp";from=(88,113);to=(89,40)]
                out.write("</td>\r\n                        <td width=\"105\">");

            // end
            // begin [file="/price.jsp";from=(89,42);to=(89,111)]
                if(price.getInter_price()!=null)out.println(price.getInter_price()); 
            // end
            // HTML // begin [file="/price.jsp";from=(89,113);to=(90,40)]
                out.write("</td>\r\n                        <td width=\"76\"> ");

            // end
            // begin [file="/price.jsp";from=(90,42);to=(90,113)]
                if(price.getEnsure_price()!=null)out.println(price.getEnsure_price()); 
            // end
            // HTML // begin [file="/price.jsp";from=(90,115);to=(91,39)]
                out.write("</td>\r\n                        <td width=\"88\">");

            // end
            // begin [file="/price.jsp";from=(91,41);to=(91,112)]
                if(price.getDeliver_time()!=null)out.println(price.getDeliver_time()); 
            // end
            // HTML // begin [file="/price.jsp";from=(91,114);to=(123,0)]
                out.write("</td>\r\n                      </tr>\r\n                    </table>\r\n                  </td>\r\n              </tr>\r\n            </table>\r\n          </td>\r\n        </tr>\r\n      </table>\r\n    </td>\r\n  </tr>\r\n  <tr align=\"right\">\r\n    <td colspan=\"2\" height=\"40\"><a href=\"#\" onClick=\"MM_openBrWindow('send_pop.shtml','','width=300,height=250')\"><br>\r\n      </a> </td>\r\n  </tr>\r\n</table>\r\n <form  name=\"form1\" method=\"POST\" action=\"search1.jsp\" onsubmit=\"return checknull()\">\r\n  关键字:\r\n  <input type=\"text\" name=\"keys\">\r\n  <select name=\"searchid\">\r\n  <option selected value=0>所有</option>\r\n    <option value=1>项目</option>\r\n    <option value=2>厂商</option>\r\n    <option value=3>产品</option>\r\n  </select>\r\n  <input type=\"submit\" name=\"submit\" value=\"搜索\">\r\n</form>\r\n\r\n  <p>&nbsp; </p>\r\n</center>\r\n</body>\r\n</html>\r\n");

            // end

        } catch (Throwable t) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException(t);
        } finally {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

⌨️ 快捷键说明

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