The content of this graduation project is to design and implement an online book mall based on JSP technology. It takes MySQL as the database development platform and Tomcat network information service as the application server under windows. The functions of online book mall have been basically realized, mainly including personal center, book classification management, user management, book information management, system management, order management, etc.
This paper mainly discusses the system analysis and design, database design and system detailed design. The system analysis and design part mainly discusses the system function analysis and system design ideas. The database design mainly discusses the database design, and the system detailed design part mainly discusses the detailed design process of several main modules.
Key words: Online Book Mall; JSP technology; Mysql database; Tomcat server
本系统的数据使用的是MySQL,所以要将MySQL安装到指定目录,如果下载的是非安装的MySQL压缩包,直接解压到指定目录就可以了。然后点击C:\\Program Files\\MySQL\\bin\\winMySQLadmin.exe这个文件其中C:\\Program Files\\MySQL是MySQL安装目录。输入winMySQLadmin的初始用户、密码(注:这不是MySQL里的用户、密码)随便填不必在意,确定之后右下角任务的启动栏会出现一个红绿灯的图标,红灯亮代表服务停止,绿灯亮代表服务正常,左击这个图标->winnt->install the service 安装此服务,再左击这个图标->winnt->start the service 启动MySQL服务。
Java Server Pages技术是由Sun公司发布的,Sun公司利用jsp技术来开发动态Web应用的一项技术。它的特征是简单易学又可跨平台操作,在众多动态Web应用程序设计语言中最为合适,利用短短几年的时间就已经形成了一套完整的规范,并广泛地应用于电子商务等各个领域中。在国内,JSP已经得到了大家的重视,有了很好的发展,越来越多的动态网站开始采用JSP技术。下面就对JSP及其相关技术进行简单的介绍。JSP技术能以一种简单方便而且快速的方法生成Web页面。使用JSP技术的Web页面可以很轻松地显示动态内容。JSP技术的设计目的是使得构造基于Web的应用程序更加容易和快捷,而这些应用程序能够与各种Web服务器、应用服务器、浏览器和开发工具共同工作。
<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>1.5.10.RELEASE</version></parent><dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency><dependency><groupId>mysql</groupId><artifactId>mysql-connector-java</artifactId></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-jpa</artifactId></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-thymeleaf</artifactId></dependency><dependency><groupId>org.apache.shiro</groupId><artifactId>shiro-spring</artifactId><version>1.4.0</version></dependency><dependency><groupId>org.apache.shiro</groupId><artifactId>shiro-core</artifactId><version>1.4.0</version></dependency><dependency><groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId><version>3.7</version></dependency><!-- Test --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope></dependency></dependencies>