package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
public Object getDependants() {
return _jspx_dependants;
}
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;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
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("<HTML><HEAD><TITLE>Welcome to Beibei Store</TITLE></head>\r\n");
out.write("<script language=JavaScript>\r\n");
out.write(" function checkuid()\r\n");
out.write(" {\r\n");
out.write(" alert(\"对不起!请先注销!\");\r\n");
out.write(" }\r\n");
out.write("</script>\r\n");
out.write("<body background=\"./picture/bg3.jpg\">\r\n");
out.write("<TABLE width=\"755\" height=\"100\"align=\"center\">\r\n");
out.write(" <!--DWLayoutTable-->\r\n");
out.write(" <tbody>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"00\" height=\"100\" align=\"justify\" ><img src=\"picture/logo.gif\" width=\"750\" height=\"100\"></td>\r\n");
out.write("\r\n");
out.write(" </tr>\r\n");
out.write(" </tbody>\r\n");
out.write("</TABLE>\r\n");
out.write("\r\n");
String uid=(String)session.getAttribute("uid");
Date today=new Date();
int hours=today.getHours();
out.write("\r\n");
out.write("<table width=\"765\" border=\"0\">\r\n");
out.write(" <tr>\r\n");
if(uid==null||uid=="")
{
out.write("\r\n");
out.write(" <td width=\"150\" align=\"left\"><font color=\"#0000CC\">游客<font color=\"#330033\">你还没有登录!</font></font></td>\r\n");
out.write(" ");
}else {
out.write("\r\n");
out.write(" <td width=\"150\" align=\"left\"><font color=\"#f5d26\" size=3 face=\"华文琥珀\" >");
out.print(uid);
out.write("欢迎您!</font></td>\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" <td width=\"408\" align=\"left\">\r\n");
if(hours>=0&& hours<12){
out.print("<font color=#f5d26 size=3 face=华文琥珀>"+"上午好!"+"</font>");
}
else {
out.print("<font color=#f5d26 size=3 face=华文琥珀>" +"下午好!"+"</font>");
}
String[] weekdays={"日","一","二","三","四","五","六"};
out.print("<font color=#f5d26 size=3 face=华文琥珀>"+"今天是"+(today.getYear()+1900)+"年"+(today.getMonth()+1)+"月"
+(today.getDate())+"日星期"+weekdays[today.getDay()]+"</font>");
out.write("\r\n");
out.write("\r\n");
out.write(" </td>\r\n");
out.write(" <td width=\"68\" align=\"right\"><font color=#f5d26 size=3 face=华文琥珀><a href=\"loginoff.jsp\">[注销]</a></font></td>\r\n");
out.write(" <td width=\"118\" align=\"right\"><font color=#f5d26 size=3 face=华文琥珀><a href=\"edit1.jsp\">[修改个人资料]</a></font></td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<TABLE height=30 cellSpacing=0 cellPadding=0 width=765 align=center\r\n");
out.write(" border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR vAlign=center align=middle>\r\n");
out.write(" <TD align=middle width=107 ><FONT color=#000000 size=2><A\r\n");
out.write(" href=\"index.jsp\">首页</A></FONT> </TD>\r\n");
out.write(" <TD align=middle width=107><FONT color=#000000 size=2><A\r\n");
out.write(" href=\"myshop.jsp\">我的商店</A></FONT> </TD>\r\n");
out.write(" <TD align=middle width=107><FONT color=#000000 size=2><A\r\n");
out.write(" href=\"class.jsp\">商品总目录</A></FONT> </TD>\r\n");
out.write(" <TD align=middle width=107><FONT color=#000000 size=2><A\r\n");
out.write(" href=\"list.jsp\">查看购物车</A></FONT> </TD>\r\n");
out.write(" <TD align=middle width=107><FONT color=#000000 size=2><A\r\n");
out.write(" href=\"ment.jsp\">收银台</A></FONT> </TD>\r\n");
out.write(" <TD align=middle width=107><FONT color=#000000 size=2><A\r\n");
out.write(" href=\"guestbook.jsp\">用户留言</A></FONT> </TD>\r\n");
out.write(" \r\n");
out.write(" <TD align=middle width=107><FONT color=#000000 size=2><A\r\n");
out.write(" href=\"yy.html\">购物指南</A></FONT> </TD>\r\n");
out.write(" </TR>\r\n");
out.write(" </TBODY>\r\n");
out.write("</TABLE>\r\n");
out.write("<TABLE bgcolor=\"#FFFFFF\" cellSpacing=0 cellPadding=0 width=755 align=center border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR><!-- Part One --------------------------------------->\r\n");
out.write(" <TD width=174 height=\"5\" align=\"top\" ><img height=42 src=\"picture/classimg.gif\" width=171>\r\n");
out.write(" <TABLE cellSpacing=0 cellPadding=0 width=171 border=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR vAlign=bottom align=left >\r\n");
out.write(" <TD width=171 height=25><div align=\"center\"><A href=\"product.jsp?class_id=01\"><strong><img src=./picture/SPYL.gif alt=\"食品饮料\"></strong></A></div></TD>\r\n");
out.write(" </TR>\r\n");
out.write(" <TR vAlign=bottom align=left>\r\n");
out.write(" <TD width=171 height=25><div align=\"center\"><A href=\"product.jsp?class_id=02\"><strong><img src=./picture/JYDQ.gif alt=\"家用电器\"></strong></A></div></TD>\r\n");
out.write(" </TR>\r\n");
out.write(" <TR vAlign=bottom align=left>\r\n");
out.write(" <TD width=171 height=25><div align=\"center\"><A href=\"product.jsp?class_id=03\" target=_blank><strong><img src=./picture/RYBH.gif alt=\"生活用品\"></strong></A></div></TD>\r\n");
out.write(" <TR vAlign=bottom align=left>\r\n");
out.write(" <TD width=171 height=25><div align=\"center\"><A href=\"product.jsp?class_id=04\" target=_blank><strong><img src=./picture/TYQC.gif alt=\"体育用品\"></strong></A></div></TD>\r\n");
out.write(" </TR>\r\n");
out.write(" <TR vAlign=bottom align=left>\r\n");
out.write(" <TD width=171 height=25><div align=\"center\"><A href=\"product.jsp?class_id=05\"><strong><img src=./picture/TXCP.gif alt=\"通讯产品\"></strong></A></div></TD>\r\n");
out.write(" </TR>\r\n");
out.write(" <TR vAlign=bottom align=left>\r\n");
out.write(" <TD width=171 height=25><div align=\"center\"><A href=\"product.jsp?class_id=06\"><strong><img src=./picture/tsyx.gif alt=\"图书软件\"></strong></A></div></TD>\r\n");
out.writ
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
毕业论文设计-IT计算机-JSP基于网络超市商品销售管理系统的设计与实现(源代码+论文).zip (377个子文件)
index_jsp.class 20KB
ment3_jsp.class 12KB
ment_jsp.class 12KB
ment1_jsp.class 11KB
ment4_jsp.class 11KB
ment2_jsp.class 11KB
search_jsp.class 11KB
check_jsp.class 11KB
myshop_jsp.class 11KB
login_jsp.class 10KB
guestbook_jsp.class 10KB
manageitems_jsp.class 9KB
manageorder_jsp.class 9KB
list_jsp.class 9KB
managecustomer_jsp.class 8KB
manageproduct1_jsp.class 8KB
products_jsp.class 8KB
loginon_jsp.class 7KB
managecategory_jsp.class 7KB
manageguestbook_jsp.class 7KB
detail_jsp.class 7KB
addmessage_jsp.class 7KB
class_jsp.class 6KB
dbBean.class 6KB
messagein_jsp.class 6KB
loginoff_jsp.class 5KB
my_jsp.class 5KB
add_jsp.class 5KB
Servletadmin.class 4KB
modify_jsp.class 4KB
clear_jsp.class 3KB
Servletadditems.class 3KB
Servletaddproduct.class 3KB
Servletaddcategory.class 2KB
Servletpayupdate.class 2KB
Servletdelcategory.class 2KB
servletdelguestbook.class 2KB
Servletdelcustomer.class 2KB
Servletaddadmin.class 2KB
Servletdelitems.class 2KB
Servletdelproduct.class 2KB
Servletsendupdate.class 2KB
car.class 650B
manageorderBean.class 590B
buylist.class 368B
.classpath 539B
flystyle.css 859B
index.css 308B
.cvsignore 7B
.cvsignore 4B
Thumbs.db 764KB
Thumbs.db 376KB
Thumbs.db 277KB
H2003032048_侯杜鹃_基于网络超市商品销售管理系统的设计与实现.doc 7.24MB
threeOLD2.gif 240KB
lhdm.gif 61KB
threeOLD.gif 60KB
banner8.gif 42KB
468-60.gif 31KB
banner.gif 28KB
gaihao.gif 25KB
bbz.gif 25KB
01002003.gif 24KB
ca.gif 23KB
banner19.gif 22KB
logo.gif 16KB
login_title1.gif 15KB
120.gif 14KB
sh.gif 13KB
sh.gif 13KB
bg6.gif 11KB
4.gif 11KB
11.gif 11KB
16.gif 11KB
15.gif 10KB
24.gif 10KB
21.gif 10KB
23.gif 10KB
22.gif 10KB
1.gif 9KB
9.gif 9KB
fw.gif 9KB
8.gif 9KB
26.gif 9KB
12.gif 9KB
19.gif 9KB
wlcs.gif 9KB
wlcs.gif 9KB
5.gif 9KB
10.gif 9KB
7.gif 9KB
top3.gif 9KB
2.gif 9KB
SPYL.gif 9KB
13.gif 9KB
TYQC.gif 9KB
fzfs.gif 8KB
25.gif 8KB
JYDQ.gif 8KB
XHLP.gif 8KB
共 377 条
- 1
- 2
- 3
- 4
资源评论
- weixin_491696812022-05-17用户下载后在一定时间内未进行评价,系统默认好评。
- m0_674260152022-12-19资源简直太好了,完美解决了当下遇到的难题,这样的资源很难不支持~
芝麻粒儿
- 粉丝: 5w+
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功