• 大小: 5.62MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-14
  • 语言: Java
  • 标签: 电商  

资源简介

一个Java的电商项目,系统主要分为前台和后台。前台包括产品的展示及会员购物等模块,后台是管理界面,主要包括商品信息、会员信息、订单信息和公告信息的常规设置。

资源截图

代码片段和文件信息

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.sql.*;
import com.wgh.DB.connDB;
import com.wgh.DB.chStr;

public class bbs_0005fdetail_0002ejsp_jsp extends HttpJspbase {


  private static java.util.Vector _jspx_includes;

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

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

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType(“text/html; charset=gb2312“);
      pageContext = _jspxFactory.getPageContext(this request response
       ““ true 8192 true);
      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“);

chStr chStr=new chStr();
connDB conn=new connDB();
String username=(String)session.getAttribute(“username“);
int ID=-1;
ID=Integer.parseInt(request.getParameter(“ID“));
if(ID>0){
ResultSet rs=conn.executeQuery(“select * from tb_bbs where ID=“+ID);
String title=““;
String content=““;
String Intime=““;
if(rs.next()){
title=rs.getString(2);
content=rs.getString(3);
Intime=rs.getString(4);
}

      out.write(“\r\n“);
      out.write(“\r\n“);
      out.write(“\r\n“);
      out.write(“tle>Go购电子商城“);
      out.write(“
tle>\r\n“);
      out.write(“ta http-equiv=\“Content-Type\“ content=\“text/html; charset=gb2312\“>\r\n“);
      out.write(“nk href=\“CSS/style.css\“ rel=\“stylesheet\“>\r\n“);
      out.write(“\r\n“);
      out.write(“\r\n“);
      out.write(“\r\n “);
      out.write(“\r\n “);
      out.write(“\r\n“);
      JspRuntimeLibrary.include(request response “navigation.jsp“ out false);
      out.write(“\r\n“);
      out.write(“\r\n  “);
      out.write(“\r\n    “);
      out.write(“\r\n\t“);
      JspRuntimeLibrary.include(request response “left.jsp“ out false);
      out.write(“\r\n\t“);
      out.write(“\r\n    “);
      out.write(““);
      out.write(“\r\n      “);
      

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件         42  2006-01-07 17:11  commerce\bak\com\wgh\connDB.java~1~

     文件         49  2006-01-07 17:15  commerce\bak\com\wgh\connDB.java~2~

     文件        119  2006-01-09 18:48  commerce\bak\com\wgh\dao\CommerceDao.java~1~

     文件        152  2006-01-09 18:58  commerce\bak\com\wgh\dao\CommerceDao.java~2~

     文件        201  2006-01-09 18:59  commerce\bak\com\wgh\dao\CommerceDao.java~3~

     文件        234  2006-01-09 18:59  commerce\bak\com\wgh\dao\CommerceDao.java~4~

     文件        262  2006-01-09 19:02  commerce\bak\com\wgh\dao\CommerceDao.java~5~

     文件        262  2006-01-09 19:53  commerce\bak\com\wgh\dao\CommerceDao.java~6~

     文件        262  2006-01-09 23:34  commerce\bak\com\wgh\dao\CommerceDao.java~7~

     文件        962  2006-01-09 19:01  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~10~

     文件       1175  2006-01-09 19:05  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~11~

     文件       1227  2006-01-09 19:07  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~12~

     文件       1192  2006-01-09 19:06  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~13~

     文件       1412  2006-01-09 19:13  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~14~

     文件       1454  2006-01-09 19:14  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~15~

     文件       1575  2006-01-09 19:20  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~16~

     文件       1575  2006-01-09 20:34  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~17~

     文件        707  2006-01-09 18:57  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~8~

     文件        747  2006-01-09 18:58  commerce\bak\com\wgh\dao\CommerceDaoImpl.java~9~

     文件        292  2006-01-09 19:27  commerce\bak\com\wgh\dao\del.java~1~

     文件        303  2006-01-09 19:33  commerce\bak\com\wgh\dao\del.java~2~

     文件        290  2006-01-09 20:36  commerce\bak\com\wgh\dao\del.java~3~

     文件        470  2006-01-09 20:44  commerce\bak\com\wgh\dao\del.java~4~

     文件        503  2006-01-09 20:46  commerce\bak\com\wgh\dao\del.java~5~

     文件        527  2006-01-09 20:47  commerce\bak\com\wgh\dao\del.java~6~

     文件        534  2006-01-09 20:49  commerce\bak\com\wgh\dao\del.java~7~

     文件        264  2006-01-13 17:03  commerce\bak\com\wgh\dao\GoodsDaoImpl.java~1~

     文件       1086  2006-01-13 19:34  commerce\bak\com\wgh\dao\GoodsDaoImpl.java~2~

     文件        919  2006-01-13 20:41  commerce\bak\com\wgh\dao\GoodsDaoImpl.java~3~

     文件       1619  2006-01-13 20:43  commerce\bak\com\wgh\dao\GoodsDaoImpl.java~4~

............此处省略609个文件信息

评论

共有 条评论