bookstore_jspt

所属分类:WEB开发
开发工具:SQL
文件大小:315KB
下载次数:18
上传日期:2007-05-11 20:32:20
上 传 者xiaoguang327
说明:  网上书店是一个多功能的网上店铺,您可以使用框架建立一个可扩展的系统。它运用数字签名付费表单系统检验信用卡。 特点有: - 用户注册 - 产品投票 - 数字签名付费表单综合化 - 类别 - 购物车 - 成员管理 - 命令管理 - 项目管理 - 类别管理 - 信用卡类型管理
(online bookstore is a multi-purpose shop online, you can use the framework for the establishment of a scalable system. Digital signatures use it to pay credit card system on the form. Features include :- User Registration- products- in the form of digital signature to pay integrated-type-Cart- member management-Order Management- project management-type of management-type credit card management)

文件列表:
AdminBooks.html (5734, 2001-06-27)
AdminBooks.jsp (9425, 2001-06-27)
AdminMenu.html (2358, 2001-06-27)
AdminMenu.jsp (3076, 2001-06-27)
AdvSearch.html (2982, 2001-06-27)
AdvSearch.jsp (3051, 2001-06-27)
BookDetail.html (7974, 2001-06-27)
BookDetail.jsp (23214, 2001-06-27)
BookMaint.html (5505, 2001-06-27)
BookMaint.jsp (12844, 2001-06-27)
Books.html (6166, 2001-06-27)
Books.jsp (14769, 2001-06-27)
CardTypesGrid.html (2373, 2001-06-27)
CardTypesGrid.jsp (5110, 2001-06-27)
CardTypesRecord.html (3029, 2001-06-27)
CardTypesRecord.jsp (9160, 2001-06-27)
CategoriesGrid.html (2913, 2001-06-27)
CategoriesGrid.jsp (6333, 2001-06-27)
CategoriesRecord.html (3047, 2001-06-27)
CategoriesRecord.jsp (9167, 2001-06-27)
Common.jsp (12661, 2001-06-28)
database (0, 2001-06-28)
database\BookStore_MSAccess.mdb (491520, 2001-06-26)
database\SQL (0, 2001-06-28)
database\SQL\BookStore_MSSQL.sql (31507, 2001-06-26)
database\SQL\BookStore_MySQL.sql (30826, 2001-06-28)
Default.html (13662, 2001-06-27)
Default.jsp (21033, 2001-06-27)
dirinfo.cci (4584, 2001-06-27)
EditorialCatGrid.html (3139, 2001-06-27)
EditorialCatGrid.jsp (6910, 2001-06-27)
EditorialCatRecord.html (3315, 2001-06-27)
EditorialCatRecord.jsp (9734, 2001-06-27)
EditorialsGrid.html (3757, 2001-06-27)
EditorialsGrid.jsp (7310, 2001-06-27)
EditorialsRecord.html (4181, 2001-06-27)
EditorialsRecord.jsp (11125, 2001-06-27)
Footer.html (976, 2001-06-27)
Footer.jsp (816, 2001-06-27)
Header.html (1315, 2001-06-27)
... ...

Introduction: This document contains instructions on how to configure and install the downloaded JSP application. It assumes that: 1. You have some basic knowledge of server and database technologies. 2. You have a web server where the application will be deployed and if applicable, a database server as well. 3. Your server supports specifications of JSP 1.1 and Servlet 2.2 When you download the application, you should find the following components contained in the zip archive: 1. Language specific script files and html template files if you downloaded the template version. 2. A database file or a SQL script file that can be used to recreate the database. 3. A folder containing images if applicable. Installation: The installation process is pretty straightforward and requires minimal adjustment of the application files. Proceed as follows: 1. Unzip the files into a folder within your web server hierarchy from where the application will be served. Ensure that the folder name does not have spaces in it. During the process of unzipping, make sure that the files are unzipped to their respective folders. Don't simply open the zip archive and drag all the files to the same folders. For the application to work correctly, some files such as the image files need to be in specific folders. 2. Once you have unzipped the files, the next task is to alter the database connection string to reflect the current location/name of the database. Follow the relevant instructions below depending on the type of connection that you want to use: ODBC Connection To Configure an ODBC connection: (a) Use the ODBC option in Control Panel to setup a system DSN for the application database. The database file is located in the main folder of the application. In the interest of security, you can and are encouraged to move the database file to a more secure location outside the web server hierarchy. Your application will work fine as long as the DSN you configure points to the correct location of the database file. Ensure that the DSN is a system DSN so that it will be available to all users. (b) Open the file 'Common.jsp' which is in the main folder of your application path. (c) Find the database connection strings in the file. Their basic format is: static final String DBDriver =""; static final String strConn =""; (d) Using the guidelines below, change the statement to look something like the example shown below: static final String DBDriver ="sun.jdbc.odbc.JdbcOdbcDriver"; static final String strConn ="jdbc:odbc: "; where: sun.jdbc.odbc.JdbcOdbcDriver - This is the bridge JDBC-ODBC used for the work with databases via ODBC. jdbc:odbc - This is the prefix for the database connection via ODBC. - This is the name of the ODBC DSN you created in Control Panel. (e) If you have configured authentication for your database, locate the following two statements below the connection string statement and set their values accordingly: static final String DBusername=""; static final String DBpassword=""; JDBC Connection (a) You need to have the JDBC driver for the used database. The list of the allowable drivers can found on the database producer site or at the site of the Sun Corporation: http://industry.java.sun.com/products/jdbc/drivers. (b) Open the file 'Common.jsp' which is in the main folder of your application path. (c) In the documentation for the selected driver find the usage section. (d) Find the database connection strings in the file. Its basic format is: static final String DBDriver =""; static final String strConn =""; where, DriverName - This is the name of the class-driver DBUrl - a database url of the form jdbc:subprotocol:subname subprotocol & subname - This is defined according to the documentation ofthe used driver. (e)Change the database connection strings as the following. (f) If you have configured authentication for your database, locate the following two statements below the connection string statement and set their values accordingly: static final String DBusername=""; static final String DBpassword=""; where, DBusername - This is the user name for the database connection Dbpassword - This is the password for the database connection

近期下载者

相关文件


收藏者