package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.sql.*;
import com.wgh.DB.connDB;
public class index_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");
connDB conn=new connDB();
ResultSet rs_superType=conn.executeQuery("select ID,superType from V_Type group by ID,superType order by superType desc");
ResultSet rs_sale=conn.executeQuery("select top 2 ID,GoodsName,price,nowprice,picture from tb_goods where sale=1 order by INTime desc");
int sale_ID=0;
String s_goodsname="";
float s_price=0;
float s_nowprice=0;
String s_picture="";
ResultSet rs_new=conn.executeQuery("select top 4 ID,GoodsName,nowprice,introduce,picture from tb_goods where newGoods=1 order by INTime desc");
int new_ID=0;
String new_goodsname="";
float new_nowprice=0;
String new_introduce="";
String new_picture="";
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>Go购电子商城");
out.write("</title>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<link href=\"CSS/style.css\" rel=\"stylesheet\">\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write("<table width=\"790\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td class=\"tableBorder\">\r\n");
JspRuntimeLibrary.include(request, response, "navigation.jsp", out, false);
out.write("\r\n");
out.write("<table width=\"790\" height=\"236\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"182\" height=\"182\" valign=\"top\">\r\n\t");
JspRuntimeLibrary.include(request, response, "left.jsp", out, false);
out.write("\r\n\t");
out.write("</td>\r\n ");
out.write("<td valign=\"top\">");
out.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"33\" background=\"images/shop_12.gif\">");
out.write("</td>\r\n ");
out.write("<td width=\"505\" height=\"33\" align=\"right\" valign=\"middle\" background=\"images/shop_12.gif\">");
out.write("<table width=\"100%\" height=\"24\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"8\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td align=\"right\" class=\"word_green\">");
out.write("<marquee direction=\"left\" scrollamount=\"1\" scrolldelay=\"1\" onMouseOver=\"this.stop();\" onMouseOut=\"this.start();\">^_^ 顾客您好!购买商品请先登录 ");
out.write("<a href=\"register.jsp\" class=\"word_green\">[新用户注册]");
out.write("</a>");
out.write("</marquee>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("</table>");
out.write("</td>\r\n ");
out.write("<td width=\"10\" background=\"images/shop_12.gif\"> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"93\" height=\"50\" background=\"images/shop_15.gif\"> ");
out.write("</td>\r\n ");
out.write("<td colspan=\"2\" background=\"images/shop_16.gif\">\r\n\t\t ");
out.write("<form name=\"form2\" method=\"post\" action=\"search_deal.jsp\">\r\n\t\t\t\t\t");
out.write("<table width=\"100%\" height=\"23\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td colspan=\"2\" height=\"7\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"85%\">请输入查询条件:\r\n ");
out.write("<select name=\"select\" class=\"textarea\">\r\n ");
out.write("<option value=\"all\" selected>全部分类");
out.write("</option>\r\n ");
out.write("</select> ");
out.write("<input name=\"bookkey\" type=\"text\" class=\"txt_grey\" size=\"33\"> ");
out.write("</td>\r\n ");
out.write("<td width=\"15%\">");
out.write("<input name=\"search\" type=\"submit\" class=\"btn_grey\" value=\"搜索\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("</table>\r\n\t\t\t ");
out.write("</form>\r\n\t\t");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("</table>\r\n ");
out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"69%\" height=\"189\" valign=\"top\">");
out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"98%\" height=\"80\" background=\"images/shop_18.gif\"> ");
out.write("</td>\r\n ");
out.write("<td width=\"2%\">");
out.write("<img src=\"images/shop_19.gif\" width=\"10\" height=\"80\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr align=\"center\" valign=\"top\">\r\n ");
out.write("<td height=\"134\" colspan=\"2\">");
out.write("<table width=\"100%\" height=\"162\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"49%\" height=\"162\" valign=\"top\">\r\n\t\t\t\t ");
int s=1;
while (rs_sale.next()){
sale_ID=rs_sale.getInt(1);
s_goodsname=rs_sale.getString(2);
s_price=rs_sale.getFloat(3);
s_nowprice=rs_sale.getFloat(4);
s_picture=rs_sale.getString(5);
if(s%2==1){
out.write("\r\n\t\t\t\t ");
out.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"95\" align=\"center\">");
out.write("<img src=\"images/goods/");
out.print(s_picture);
out.write("\" width=\"150\" height=\"88\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n
没有合适的资源?快使用搜索试试~ 我知道了~
JSP数据库系统开发案例精选(电子商务系统)
共576个文件
class:115个
java:106个
gif:76个
4星 · 超过85%的资源 需积分: 9 827 下载量 178 浏览量
2007-08-07
14:49:31
上传
评论 1
收藏 5.29MB RAR 举报
温馨提示
JSP数据库系统开发案例精选(电子商务系统)
资源推荐
资源详情
资源评论
收起资源包目录
JSP数据库系统开发案例精选(电子商务系统) (576个子文件)
index_jsp.class 17KB
goods_0005fmodify_0002ejsp_jsp.class 13KB
cart_0005fsee_0002ejsp_jsp.class 13KB
index_0002ejsp_jsp.class 13KB
cart_0005fcheckout_0002ejsp_jsp.class 13KB
modifyMember_0002ejsp_jsp.class 12KB
order_0005fdetail_0002ejsp_jsp.class 12KB
goods_0005fadd_0002ejsp_jsp.class 12KB
search_0005fdeal_0002ejsp_jsp.class 11KB
type_0002ejsp_jsp.class 11KB
register_jsp.class 11KB
register_0002ejsp_jsp.class 11KB
order_0002ejsp_jsp.class 10KB
SellSort_0002ejsp_jsp.class 10KB
复件_00020goods_0005fdetail_0002ejsp_jsp.class 10KB
goods_0005fdetail_0002ejsp_jsp.class 10KB
goods_0005fdel_0002ejsp_jsp.class 10KB
bbs_0005fdetail_0002ejsp_jsp.class 10KB
member_0005fdetail_0002ejsp_jsp.class 10KB
placardmanage_0002ejsp_jsp.class 10KB
subType_0002ejsp_jsp.class 10KB
sale_0002ejsp_jsp.class 10KB
superType_0002ejsp_jsp.class 10KB
NewGoods_0002ejsp_jsp.class 10KB
membermanage_0002ejsp_jsp.class 9KB
order_0005fdetail_0002ejsp_jsp.class 9KB
index_0002ejsp_jsp.class 9KB
ordermanage_0002ejsp_jsp.class 9KB
left_0002ejsp_jsp.class 8KB
goods_0005fdetail_0002ejsp_jsp.class 8KB
cart_0005fnull_0002ejsp_jsp.class 8KB
sub_0005fadd_0002ejsp_jsp.class 8KB
placard_0005fadd_0002ejsp_jsp.class 8KB
right_0002ejsp_jsp.class 7KB
left_jsp.class 7KB
super_0005fadd_0002ejsp_jsp.class 7KB
cart_0005forder_0002ejsp_jsp.class 7KB
navigation_jsp.class 6KB
navigation_0002ejsp_jsp.class 6KB
check_0002ejsp_jsp.class 6KB
superType_0005fadd_0005fdeal_0002ejsp_jsp.class 6KB
subType_0005fadd_0005fdeal_0002ejsp_jsp.class 6KB
placard_0005fadd_0005fdeal_0002ejsp_jsp.class 6KB
goods_0005fadd_0005fdeal_0002ejsp_jsp.class 6KB
goods_0005fmodify_0005fdeal_0002ejsp_jsp.class 6KB
goods_0005fdel_0005fdeal_0002ejsp_jsp.class 6KB
register_deal_jsp.class 6KB
modifyMember_0005fdeal_0002ejsp_jsp.class 5KB
register_0005fdeal_0002ejsp_jsp.class 5KB
checkUserName_0002ejsp_jsp.class 5KB
cart_0005fAdd_0002ejsp_jsp.class 5KB
Login_0005fM_0002ejsp_jsp.class 5KB
superType_0005fDel_0005fdeal_0002ejsp_jsp.class 4KB
Login_0005fU_0002ejsp_jsp.class 4KB
search_0002ejsp_jsp.class 4KB
member_0005fthaw_0002ejsp_jsp.class 4KB
placard_0005fDel_0005fdeal_0002ejsp_jsp.class 4KB
subType_0005fDel_0005fdeal_0002ejsp_jsp.class 4KB
test_0005fdeal_0002ejsp_jsp.class 4KB
navigation_0002ejsp_jsp.class 4KB
Del_0005fdeal_0002ejsp_jsp.class 4KB
order_0005fenforce_0002ejsp_jsp.class 4KB
Login_0005fM_0005fdeal_0002ejsp_jsp.class 4KB
cart_0005fmodify_0002ejsp_jsp.class 4KB
copyright_0002ejsp_jsp.class 4KB
banner_0002ejsp_jsp.class 4KB
copyright_0002ejsp_jsp.class 4KB
connDB.class 4KB
connDB.class 4KB
check_jsp.class 4KB
member_0005ffreeze_0002ejsp_jsp.class 4KB
MemberDaoImpl.class 3KB
MemberDaoImpl.class 3KB
cart_0005fmove_0002ejsp_jsp.class 3KB
logout_0002ejsp_jsp.class 3KB
test_0002ejsp_jsp.class 3KB
safe_0002ejsp_jsp.class 3KB
member.class 3KB
member.class 3KB
cart_0005fclear_0002ejsp_jsp.class 3KB
logout_0002ejsp_jsp.class 3KB
CommerceDaoImpl.class 3KB
GoodsDaoImpl.class 2KB
GoodsDaoImpl.class 2KB
goods.class 2KB
goods.class 2KB
SubtypeDaoImpl.class 1KB
SubtypeDaoImpl.class 1KB
PlacardDaoImpl.class 1KB
PlacardDaoImpl.class 1KB
chStr.class 1KB
chStr.class 1KB
SuperTypeDaoImpl.class 1KB
SuperTypeDaoImpl.class 1KB
del.class 1KB
SubType.class 826B
SubType.class 826B
placard.class 801B
placard.class 801B
SuperType.class 617B
共 576 条
- 1
- 2
- 3
- 4
- 5
- 6
benben316
- 粉丝: 4
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页