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

📄 _editorder.java

📁 精美的画面。完善的功能
💻 JAVA
字号:
  /*@lineinfo:filename=/editOrder.jsp*/
  /*@lineinfo:generated-code*/

import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import Flower.model.DBConnect;


public class _editOrder extends com.orionserver.http.OrionHttpJspPage {

  public final String _globalsClassName = null;

  // ** Begin Declarations


  // ** End Declarations

  public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {

    response.setContentType( "text/html;charset=GBK");
    /* set up the intrinsic variables using the pageContext goober:
    ** session = HttpSession
    ** application = ServletContext
    ** out = JspWriter
    ** page = this
    ** config = ServletConfig
    ** all session/app beans declared in globals.jsa
    */
    PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
    // Note: this is not emitted if the session directive == false
    HttpSession session = pageContext.getSession();
    if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
      pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
      return;
}
    int __jsp_tag_starteval;
    ServletContext application = pageContext.getServletContext();
    JspWriter out = pageContext.getOut();
    _editOrder page = this;
    ServletConfig config = pageContext.getServletConfig();

    try {
      // global beans
      // end global beans


      out.write(__oracle_jsp_text[0]);
      out.write(__oracle_jsp_text[1]);
      out.write(__oracle_jsp_text[2]);
      /*@lineinfo:user-code*//*@lineinfo:19^13*/                              Connection con=null;                        PreparedStatement pstmt=null;                        ResultSet rs=null;                        con=DBConnect.getConnection();                        pstmt=con.prepareStatement("select * from OrderMain where Orderid=?");                        pstmt.setString(1,request.getParameter("orderid"));                        rs=pstmt.executeQuery();                        while(rs.next())                        {                  
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[3]);
      /*@lineinfo:user-code*//*@lineinfo:33^43*/      out.print(rs.getString(1));
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[4]);
      /*@lineinfo:user-code*//*@lineinfo:40^19*/                                      if(rs.getString(6).equals("是"))                              {                        
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[5]);
      /*@lineinfo:user-code*//*@lineinfo:46^19*/                                    }                              else                              {                        
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[6]);
      /*@lineinfo:user-code*//*@lineinfo:53^21*/                                }                          
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[7]);
      /*@lineinfo:user-code*//*@lineinfo:63^19*/                                  if(rs.getString(7).equals("已发货"))                            {                        
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[8]);
      /*@lineinfo:user-code*//*@lineinfo:69^21*/                                  }                            else                            {                                                      
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[9]);
      /*@lineinfo:user-code*//*@lineinfo:77^21*/                                }                          
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[10]);
      /*@lineinfo:user-code*//*@lineinfo:83^15*/                              }                        rs.close();                        pstmt.close();                        con.close();                    
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[11]);
      /*@lineinfo:user-code*//*@lineinfo:95^18*/                                                        String result="请注意系统提示";                        if(request.getAttribute("result")!=null)                        {                          result=request.getAttribute("result").toString();                                                    }                      
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[12]);
      /*@lineinfo:user-code*//*@lineinfo:104^35*/      out.print(result);
      /*@lineinfo:generated-code*/
      out.write(__oracle_jsp_text[13]);


    }
    catch( Throwable e) {
      try {
        if (out != null) out.clear();
      }
      catch( Exception clearException) {
      }
      pageContext.handlePageException( e);
    }
    finally {
      OracleJspRuntime.extraHandlePCFinally(pageContext,false);
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
    }

  }
  private static final char __oracle_jsp_text[][]=new char[14][];
  static {
    try {
    __oracle_jsp_text[0] = 
    "\n<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\n    <title>untitled</title>\n    <link href=\"css/jdeveloper.css\" rel=\"stylesheet\" media=\"screen\"/>\n  </head>\n  <body>\n    <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"578\" align=\"left\">\n      <tr>\n        <td>\n          <H1 align=\"center\">修改订单</H1>\n          <P>\n            ".toCharArray();
    __oracle_jsp_text[1] = 
    "\n            ".toCharArray();
    __oracle_jsp_text[2] = 
    "\n          </P>\n          <form action=\"cartservlet\" method=\"post\">\n            <table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" width=\"80%\" align=\"center\">\n            ".toCharArray();
    __oracle_jsp_text[3] = 
    "\n              <tr>\n                <td width=\"22%\">订单编号:</td>\n                <td width=\"78%\">\n                <input type=\"text\" value=\"".toCharArray();
    __oracle_jsp_text[4] = 
    "\" name=\"orderid\" readonly/>\n               </td>\n              </tr>\n              <tr>\n                <td width=\"22%\">是否付款:</td>\n                <td width=\"78%\">\n                  <select name=\"payflag\">\n                  ".toCharArray();
    __oracle_jsp_text[5] = 
    "\n                    <option value=\"是\" selected=\"selected\">是</option>\n                    <option value=\"否\">否</option>\n                  ".toCharArray();
    __oracle_jsp_text[6] = 
    "\n                  <option value=\"是\" >是</option>\n                    <option value=\"否\" selected=\"selected\">否</option>\n                    ".toCharArray();
    __oracle_jsp_text[7] = 
    "\n                  </select>\n                </td>\n              </tr>\n              <tr>\n                <td width=\"22%\">是否发货:</td>\n                <td width=\"78%\">\n                  <select name=\"flag\">\n                  ".toCharArray();
    __oracle_jsp_text[8] = 
    "\n                    <option value=\"已发货\" selected=\"selected\">已发货</option>\n                    <option value=\"未发货\">未发货</option>\n                    ".toCharArray();
    __oracle_jsp_text[9] = 
    "\n                    <option value=\"已发货\" >已发货</option>\n                    <option value=\"未发货\" selected=\"selected\">未发货</option>\n                    ".toCharArray();
    __oracle_jsp_text[10] = 
    "\n                  </select>\n                </td>\n              </tr>\n              ".toCharArray();
    __oracle_jsp_text[11] = 
    "\n              <tr>\n                <td width=\"22%\">\n                  <FONT color=\"#0033cc\">系统提示:</FONT>\n                </td>\n                <td width=\"78%\">\n                \n                 ".toCharArray();
    __oracle_jsp_text[12] = 
    "\n                <font color=\"red\">".toCharArray();
    __oracle_jsp_text[13] = 
    "</font>\n                </td>\n              </tr>\n              <tr>\n                <td width=\"22%\">&nbsp;</td>\n                <td width=\"78%\">\n                  <input type=\"submit\" value=\"提交\"/>\n                  <input type=\"reset\" value=\"重置\"/>\n                  <input type=\"hidden\" name=\"action\" value=\"editordermain\"/>\n                </td>\n              </tr>\n            </table>\n          </form>\n          <P>&nbsp;</P>\n          <P>&nbsp;</P>\n        </td>\n      </tr>\n    </table>\n  </body>\n</html>\n".toCharArray();
    }
    catch (Throwable th) {
      System.err.println(th);
    }
}
}

⌨️ 快捷键说明

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