?? __dingdanchakan.java
字號(hào):
/* compiled from JSP: /dingDanChaKan.jsp
*
* This code was automatically generated at 17:31:57 on 2007-1-14
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
import java.util.*; //[ /dingDanChaKan.jsp; Line: 4]import ejb.GouWuCheInfoVo; //[ /dingDanChaKan.jsp; Line: 5]
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 17:31:57 on 2007-1-14
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2007 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __dingdanchakan
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
// StaleIndicator interface public boolean _isStale() { weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext()); java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/dingDanChaKan.jsp", 1168765128000L, "8.1.4.0", "Asia/Shanghai")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/dingDanChaKan.jsp", 1168765128000L, "8.1.4.0", "Asia/Shanghai")) return true; return false; } private static void _writeText(ServletResponse rsp, JspWriter out, String block, byte[] blockBytes) throws IOException { if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) { out.print(block); } else { ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block); } } private static boolean _hasEncodingChanged(ServletResponse rsp) { if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) { return false; } return true; } private static boolean _WL_ENCODED_BYTES_OK = true; private static final String _WL_ORIGINAL_ENCODING = "GBK"; private static byte[] _getBytes(String block) { try { return block.getBytes(_WL_ORIGINAL_ENCODING); } catch (java.io.UnsupportedEncodingException u) { _WL_ENCODED_BYTES_OK = false; } return null; } private final static String _wl_block0 = "\r\n"; private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0); private final static String _wl_block1 = "\r\n"; private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1); private final static String _wl_block2 = "\r\n"; private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2); private final static String _wl_block3 = "\r\n"; private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3); private final static String _wl_block4 = "\r\n<html>\r\n<head>\r\n<title>\r\ndingDanChaKan\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\" background=\"photo/userRight.jpg\">\r\n"; private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4); private final static String _wl_block5 = "\r\n訂單提交后,就可以刷新回到主頁面,查看與客服聯(lián)系,付款^.^<br /><br />\r\n<table width=\"641\" height=\"32\" border=\"1\">\r\n <tr>\r\n <td width=\"58\"><div align=\"center\">訂單號(hào)</div></td>\r\n <td width=\"60\"><div align=\"center\">用戶ID</div></td>\r\n <td width=\"96\"><div align=\"center\">產(chǎn)品序列號(hào)</div></td>\r\n <td width=\"58\"><div align=\"center\">產(chǎn)品名</div></td>\r\n <td width=\"77\"><div align=\"center\">產(chǎn)品型號(hào)</div></td>\r\n <td width=\"85\"><div align=\"center\">產(chǎn)品價(jià)格/1</div></td>\r\n <td width=\"52\"><div align=\"center\">數(shù)量</div></td>\r\n <td width=\"60\"><div align=\"center\">支付</div></td>\r\n <td width=\"37\"><div align=\"center\">刪除</div></td>\r\n </tr>\r\n</table>\r\n"; private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5); private final static String _wl_block6 = "\r\n<form name=\"form1\" method=\"post\" action=\"shanchuDingDan.jsp\">\r\n<table width=\"662\" height=\"29\" border=\"1\">\r\n <tr>\r\n <td width=\"59\"><div align=\"center\">\r\n <input type=\"text\" name=\"dingDanHao\" size=\"8\" readOnly value=\""; private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6); private final static String _wl_block7 = "\">\r\n</div></td>\r\n<td width=\"65\"><div align=\"center\">\r\n <input type=\"text\" name=\"userCode\"size=\"8\"readOnly value=\""; private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7); private final static String _wl_block8 = "\">\r\n</div></td>\r\n<td width=\"92\"><div align=\"center\">\r\n <input type=\"text\" name=\"number\"size=\"8\"readOnly value=\""; private final static byte[] _wl_block8Bytes = _getBytes(_wl_block8); private final static String _wl_block9 = "\">\r\n</div></td>\r\n<td width=\"56\"><div align=\"center\">\r\n <input type=\"text\" name=\"name\"size=\"8\"readOnly value=\""; private final static byte[] _wl_block9Bytes = _getBytes(_wl_block9); private final static String _wl_block10 = "\">\r\n</div></td>\r\n<td width=\"79\"><div align=\"center\">\r\n <input type=\"text\" name=\"model\"size=\"8\"readOnly value=\""; private final static byte[] _wl_block10Bytes = _getBytes(_wl_block10); private final static String _wl_block11 = "\">\r\n</div></td>\r\n<td width=\"83\"><div align=\"center\">\r\n <input type=\"text\" name=\"price\"size=\"8\"readOnly value=\""; private final static byte[] _wl_block11Bytes = _getBytes(_wl_block11); private final static String _wl_block12 = "\">\r\n</div></td>\r\n<td width=\"56\"><div align=\"center\">\r\n <input type=\"text\" name=\"count1\"size=\"8\"readOnly value=\""; private final static byte[] _wl_block12Bytes = _getBytes(_wl_block12); private final static String _wl_block13 = "\">\r\n</div></td>\r\n<td width=\"56\"><div align=\"center\">\r\n <input type=\"text\" name=\"zhiFu\"size=\"8\"readOnly value=\""; private final static byte[] _wl_block13Bytes = _getBytes(_wl_block13); private final static String _wl_block14 = "\">\r\n</div></td>\r\n<td width=\"58\">\r\n <div align=\"left\">\r\n <input type=\"submit\" name=\"Submit\" value=\"刪除\">\r\n </div></td>\r\n </tr>\r\n</table>\r\n</form>\r\n<p> </p>"; private final static byte[] _wl_block14Bytes = _getBytes(_wl_block14); private final static String _wl_block15 = "\r\n\r\n</body>\r\n</html>\r\n"; private final static byte[] _wl_block15Bytes = _getBytes(_wl_block15);
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
{
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=GBK"); out = pageContext.getOut(); JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block response.setContentType("text/html; charset=GBK"); _writeText(response, out, _wl_block0, _wl_block0Bytes); JavaBean.GouWuCheBean gouwuchecharu = null; //[ /dingDanChaKan.jsp; Line: 2] gouwuchecharu = (JavaBean.GouWuCheBean)pageContext.getAttribute("gouwuchecharu"); //[ /dingDanChaKan.jsp; Line: 2] if (gouwuchecharu == null) { // begin 'gouwuchecharu' instantiation block... //[ /dingDanChaKan.jsp; Line: 2] { // Don't need to synchronize on page scope //[ /dingDanChaKan.jsp; Line: 2] gouwuchecharu = (JavaBean.GouWuCheBean)pageContext.getAttribute("gouwuchecharu"); //[ /dingDanChaKan.jsp; Line: 2] if (gouwuchecharu == null) { // begin 'gouwuchecharu' synchronized instantiation block... //[ /dingDanChaKan.jsp; Line: 2] gouwuchecharu = new JavaBean.GouWuCheBean(); //[ /dingDanChaKan.jsp; Line: 2] pageContext.setAttribute("gouwuchecharu", gouwuchecharu); //[ /dingDanChaKan.jsp; Line: 2] _writeText(response, out, _wl_block1, _wl_block1Bytes); } // end synchronized bean instantiation block... //[ /dingDanChaKan.jsp; Line: 3] } // end synchronized bean scope block... //[ /dingDanChaKan.jsp; Line: 3] } // end bean instantiation block... //[ /dingDanChaKan.jsp; Line: 3] _writeText(response, out, _wl_block2, _wl_block2Bytes); _writeText(response, out, _wl_block3, _wl_block3Bytes); _writeText(response, out, _wl_block4, _wl_block4Bytes); String a = (String)session.getAttribute("userCode"); //[ /dingDanChaKan.jsp; Line: 13] Iterator it = gouwuchecharu.selectForUserCode(a).iterator(); //[ /dingDanChaKan.jsp; Line: 14] //[ /dingDanChaKan.jsp; Line: 14] _writeText(response, out, _wl_block5, _wl_block5Bytes); while(it.hasNext()){GouWuCheInfoVo vo=(GouWuCheInfoVo)it.next(); //[ /dingDanChaKan.jsp; Line: 29] //[ /dingDanChaKan.jsp; Line: 29] _writeText(response, out, _wl_block6, _wl_block6Bytes); out.print(String.valueOf(vo.getDingDanHao())); //[ /dingDanChaKan.jsp; Line: 34] _writeText(response, out, _wl_block7, _wl_block7Bytes); out.print(String.valueOf(vo.getUserCode())); //[ /dingDanChaKan.jsp; Line: 37] _writeText(response, out, _wl_block8, _wl_block8Bytes); out.print(String.valueOf(vo.getNumber())); //[ /dingDanChaKan.jsp; Line: 40] _writeText(response, out, _wl_block9, _wl_block9Bytes); out.print(String.valueOf(a=new String(vo.getName().getBytes("8859_1")))); //[ /dingDanChaKan.jsp; Line: 43] _writeText(response, out, _wl_block10, _wl_block10Bytes); out.print(String.valueOf(vo.getModel())); //[ /dingDanChaKan.jsp; Line: 46] _writeText(response, out, _wl_block11, _wl_block11Bytes); out.print(String.valueOf(vo.getPrice())); //[ /dingDanChaKan.jsp; Line: 49] _writeText(response, out, _wl_block12, _wl_block12Bytes); out.print(String.valueOf(vo.getCount1())); //[ /dingDanChaKan.jsp; Line: 52] _writeText(response, out, _wl_block13, _wl_block13Bytes); out.print(String.valueOf(a=new String(vo.getZhiFu().getBytes("8859_1")))); //[ /dingDanChaKan.jsp; Line: 55] _writeText(response, out, _wl_block14, _wl_block14Bytes); } //[ /dingDanChaKan.jsp; Line: 64] //[ /dingDanChaKan.jsp; Line: 64] _writeText(response, out, _wl_block15, _wl_block15Bytes); } catch (Throwable __ee) { while (out != null && out != _originalOut) out = pageContext.popBody(); ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee); }
//before final close brace...
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -