/* compiled from JSP: /index.jsp
*
* This code was automatically generated at 21:23:37 on 2004-4-16
* 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.sql.*; //[ /index.jsp; Line: 2]
import javax.sql.*; //[ /index.jsp; Line: 3]
// 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 21:23:37 on 2004-4-16
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __index
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("/index.jsp", 1081779284000L, "WebLogic Server 7.0 Thu Jun 20 11:47:11 PDT 2002 190955 ")) return true;
return false;
}
public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
java.io.File f = null;
long lastModWhenBuilt = 0L;
if (sci.isResourceStale("/index.jsp", 1081779284000L, "WebLogic Server 7.0 Thu Jun 20 11:47:11 PDT 2002 190955 ")) return true;
return false;
}
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");
out.print("\r\n");
out.print("\r\n");
out.print("\r\n");
//[ /index.jsp; Line: 4]
try{ //[ /index.jsp; Line: 5]
//数据库连接 //[ /index.jsp; Line: 6]
Class.forName("oracle.jdbc.driver.OracleDriver"); //[ /index.jsp; Line: 7]
String strUrl = "jdbc:oracle:thin:@slight:1521:LOCAL"; //[ /index.jsp; Line: 8]
String strUser = "eshop"; //[ /index.jsp; Line: 9]
String strPassword = "eshop"; //[ /index.jsp; Line: 10]
Connection con = DriverManager.getConnection(strUrl, strUser, strPassword); //[ /index.jsp; Line: 11]
Statement st = con.createStatement(); //[ /index.jsp; Line: 12]
//[ /index.jsp; Line: 13]
//最近注册商品 //[ /index.jsp; Line: 14]
String sql = "select * from product order by regtime desc"; //[ /index.jsp; Line: 15]
ResultSet rs = st.executeQuery(sql); //[ /index.jsp; Line: 16]
//[ /index.jsp; Line: 17]
//[ /index.jsp; Line: 18]
out.print("\r\n<html>\r\n\r\n<head>\r\n<script>\r\n function openbag(id) { window.open(\"eshop.jsp?cpbm=\"+id,\"\",\"height=400,width=630,left=200,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no\");}\r\n</script>\r\n<script language=\"javascript\">\r\n<!--\r\nfunction winopen(url)\r\n {\r\n window.open(url,\"search\",\"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,width=640,height=450,top=200,left=100\");\r\n }\r\n\r\nfunction MM_openBrWindow(theURL,winName,features) { //v2.0\r\n window.open(theURL,winName,features);\r\n}\r\n//-->\r\n</script>\r\n<title>\r\n网上商城\r\n</title>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\">\r\n</head>\r\n<body leftmargin=\"0\" topmargin=\"0\">\r\n<table cellSpacing=\"0\" cellPadding=\"0\" width=\"764\" align=\"center\" border=\"0\" height=\"90\" bgcolor=\"#336699\">\r\n <tbody>\r\n <tr>\r\n <td width=\"100%\" height=\"1\"> <img src=\"images/logo_old.gif\" width=\"760\" height=\"80\" border=\"0\" usemap=\"#Map\">\r\n <center>\r\n </center></td>\r\n </tr>\r\n </tbody>\r\n</table");
out.print(">\r\n<map name=\"Map\">\r\n <area shape=\"rect\" coords=\"280,14,736,72\" href=\"http://www.cefirst.com/version2.01/product/esystem/default.asp\" target=\"_blank\">\r\n</map>\r\n<div align=\"center\">\r\n <table border=\"0\" width=\"764\" cellspacing=\"0\" cellpadding=\"0\" height=\"60\">\r\n <center>\r\n <tr>\r\n <td width=\"153\" valign=\"top\" bgcolor=\"#336699\" height=\"60\" rowspan=\"4\">\r\n <div align=\"center\">\r\n <table>\r\n <tr>\r\n <td width=\"160\" height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td width=\"160\" bgcolor=\"#000033\" height=\"1\"><spacer type=\"block\" height=\"1\"> </td>\r\n </tr>\r\n <tr>\r\n <td width=\"160\" bgcolor=\"#a0a0a0\" height=\"1\"><spacer type=\"block\" height=\"1\"> </td>\r\n </tr>\r\n <tr>\r\n <td width=\"160\" bgcolor=\"#b0b0b0\" height=\"1\"><spacer type=\"block\" height=\"1\"> </td>\r\n </tr>\r\n <tr>\r\n <td width=\"160\" bgcolor=\"#c0c0c0\" height=\"1\"><sp");
out.print("acer type=\"block\" height=\"1\"> </td>\r\n </tr>\r\n <tr>\r\n <td width=\"160\" bgcolor=\"#d0d0d0\" height=\"1\"><spacer type=\"block\" height=\"1\"> </td>\r\n </tr>\r\n <tr>\r\n <td width=\"160\" bgcolor=\"#F0F1EF\" height=\"80\"> <div align=\"center\">\r\n <table cellspacing=\"0\" cellpadding=\"0\" width=\"86%\" align=\"center\" background border=\"0\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n ");
{ /* include block for 'news/rollnews.jsp' */ //[ /index.jsp; Line: 87]
String __thePage = //[ /index.jsp; Line: 87]
//[ /index.jsp; Line: 87]
"news/rollnews.jsp"; //[ /index.jsp; Line: 87]
pageContext.include(__thePage); //[ /index.jsp; Line: 87]
out.flush(); //[ /index.jsp; Line: 87]
} /* end include block for 'news/rollnews.jsp' */ //[ /index.jsp; Line: 87]
out.print("\r\n</td>\r\n
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
JSP动态网站源代码_Eshop (160个子文件)
eshop.bat 67B
__index.class 34KB
__reguser2.class 21KB
__eshop.class 11KB
__ment.class 9KB
__ment4.class 9KB
__reguser3.class 8KB
__left.class 8KB
__user_check.class 7KB
__read.class 6KB
__showvote.class 5KB
__loginsb.class 5KB
__orderloginsb.class 5KB
__mentlogin.class 5KB
__spjj.class 4KB
__top.class 4KB
__rollnews.class 4KB
__index.class 4KB
__test.class 3KB
__test1.class 3KB
TestBean.class 563B
css.css 1KB
style.css 260B
Thumbs.db 46KB
Thumbs.db 22KB
Thumbs.db 6KB
jsp_servlet.dep2 35KB
jsp_servlet._admin.dep2 11KB
jsp_servlet._news.dep2 2KB
eshop.dmp 32KB
logo_old5.gif 27KB
logo2.gif 23KB
logo_old.gif 15KB
logo.gif 15KB
777.gif 5KB
2001126112037.gif 4KB
200112611228.gif 2KB
2001126111922.gif 2KB
yan.gif 2KB
200112611180.gif 2KB
hygl.gif 1KB
art031.gif 1KB
arrow_1.gif 930B
login_05.gif 855B
Home_home.gif 615B
welcome.gif 598B
go.gif 478B
bgguide.gif 458B
blue.gif 450B
left.gif 437B
right.gif 435B
login_09.gif 423B
login_03.gif 405B
login_06.gif 375B
mybuy.gif 312B
login_12.gif 301B
1_04.gif 291B
arrow177.gif 286B
1_08.gif 279B
1.gif 267B
tool049.gif 261B
fav.gif 218B
arrow216.gif 215B
blank.gif 204B
gongwen.gif 203B
blankend.gif 201B
blankend1.gif 192B
renli.gif 191B
workplan.gif 187B
point002.gif 185B
1_031.gif 182B
yuyue.gif 158B
dot1.gif 157B
kehu.gif 144B
bl_img.gif 142B
send.gif 121B
back.gif 114B
tr_img.gif 107B
tl_img.gif 106B
enet_br.gif 87B
enet_bl.gif 86B
enet_lt.gif 85B
enet_rt.gif 82B
1_07b.gif 82B
br_img.gif 64B
guide.gif 47B
stretch.gif 43B
reguser.htm 9KB
Shop_Login.htm 3KB
index.htm 3B
classes12.jar 1.14MB
__index.java 42KB
__reguser2.java 24KB
__eshop.java 15KB
__ment4.java 13KB
__reguser3.java 12KB
__ment.java 11KB
__user_check.java 9KB
__left.java 9KB
__orderloginsb.java 7KB
共 160 条
- 1
- 2
资源评论
- xuaner_xuaner2012-04-06很好的参考资料 ,不是可以直接导入的工程
- sza16282881282012-06-28不能导入到myelicse中去。
- mqk6163696562014-05-14不会导入到工程,不是特别详细
星星之火灿烂非凡
- 粉丝: 15
- 资源: 110
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功