1. Software download
Mysql
Download version: 4.1.11
http://dev.mysql.com/downloads/mysql/4.1.html
Download version: 3.1.8
http://dev.mysql.com/downloads/connector/j/3.1.html Mysql interface plug-in: mysql-front
Download version image: HongKong (the Chinese version will be installed next time)
http://www.mysqlfront.de/download.html 2. Software installation
1. Install mysql
Please refer to the relevant articles in the information section http://info.mysql.cn/install/2006/0208/81.html 2. JDBC driver: mysql -connector-java-3.1.8
This is just a compressed package and does not need to be installed. Just unzip it. We are using the file in the folder mysql-connector-java-3.1.8: mysql-connector -java-3.1.8-bin.jar. 3. Mysql interface plug-in: mysql-front
This is an installation program, just follow the prompts to install it. Three. Environment configuration
First of all, I want to explain that my current installation path of tomcat is: D:Program FilesJavaTomcat; the installation path of JDK is: D:Program FilesJavaj2sdk. Here, the environment variables that need to be configured are the JDBC drivers. Before configuring, first put the mysql-connector-java-3.1.8-bin.jar mentioned just somewhere on your local hard disk (where I put it: D:Program FilesJavamysqlforjdbc), and then configure the classpath according to where you put it. The configuration is like this: D: Program filesJavaj2sdklib ools.jar; D: Program FilesJavaj2sdklibmysql-connector-java-3.1.8-bin-g.jar; -3.1.8-bin.jar The purpose of configuring this is to allow your java application to find the driver that connects to mysql. After configuring the environment variables, another very important step is to configure the driver for JSP to connect to the database. This is actually very simple, just copy mysql-connector-java-3.1.8-bin.jar to some folder. , I read a lot of information on the Internet and asked a lot of people, and there are various opinions. I summarized it, and I did it all for the sake of insurance. Haha, anyway, it is just copying a 400K file. Now I list the mysql The folder copied into -connector-java-3.1.8-bin.jar is as follows: D: Program FilesJavaTomcatcommonlib
D: Program FilesJavaTomcatsharedlib
4. Use of database After Mysql is installed, there are still some things to pay attention to (reference): http://info.mysql.cn/install/2006/0208/82.html Just like in As mentioned in the article, after MySQL is installed, the most important thing is to check whether the database has been started as a system service. Therefore, before you perform database operations, you should check and enter services at the start of the operating system -> Run -> Enter services. msc, make sure that the mysql service you set during installation has been started, so that you will not get a connection failure error when operating the database. A more convenient mysql interface plug-in is mentioned above, but I only found this interface after I started using mysql. At first, I used the command line to operate it under dos. Although that interface can also be used to create databases, set permissions, etc., I think knowing how to use the command line is also a very important skill, so I will start with the command line and talk about how to use mysql simply. We will talk about the use of mysql-front later. Now I want to build a database shujuku in mysql and a table biao in the database. The specific commands are as follows (assuming that I have just installed mysql) 1. Enter the dos state (remember that the command line must be run in the bin directory under the installation directory of mysql) 2. Connect to mysql

jsp属于后端。jsp的本质是一种servlet,而servlet又是服务器端的java应用程序,所以jsp是属于后端的技术。JSP部署于网络服务器上,可响应客户端发送的请求,并根据请求内容动态地生成HTML、XML或其他格式文档的Web网页,然后返回给请求者。JSP技术以Java作为脚本语言,为用户HTTP请求提供服务,并能与服务器上的其它Java程序共同处理复杂的业务需求。

新建好springboot项目以后目录如下:第一步:在项目的pom文件中加入配置jsp所需要的jar包代码:org.apache.tomcat.embedtomcat-embed-jasperprovided第二步:在main路径下新建目录webapp,在webapp下新建路径WEB-INF,在WEB-INF下新建路径jsp,在这个路径下放置我们要使用的jsp文件第三步:在主配置文件中配置jsp文件的访问路径和后缀代码:spring.mvc.view.prefix=/WEB-INF/jsp/sp

jsp和html区别:1、运行机制;2、用途;3、与Java的关系;4、功能;5、与后端的关系;6、速度;7、可维护性和扩展性;8、学习和使用的难易程度;9、文件后缀和识别工具;10、社区和支持;11、安全性。详细介绍:1、运行机制,HTML是一种标记语言,主要用于描述和定义网页的内容,它运行在客户端,由浏览器解释执行,JSP是一种动态网页技术,运行在服务器端等等。

JSP是一种动态网页技术标准,其文件格式是在传统的网页HTML文件(.htm,.html)中插入Java程序段(Scriptlet)和JSP标记(tag),从而形成JSP文件(*.jsp)。

一、实现分页查询的核心sql语句(1)查询数据库的记录总数的sql语句:selectcount(*)from+(表名);(2)每次查询的记录数的sql语句:其中:0是搜索的索引,2是每次查找的条数。select*from表名limit0,2;二、代码实现*上篇写过这两个类,DBconnection类:用于获取数据库连接,Author对象类。这两个类的代码点击连接查看。点击链接查看DBconnection类和Author对象类(1)登录页面:index.jsp。Inserttitlehere用户列

JavaWeb开发技术栈:掌握JavaEE、Servlet、JSP、Spring等用于Web开发的技术随着互联网的迅速发展,在当今的软件开发领域,Web应用的开发已经成为一种非常重要的技术需求。而Java作为一种广泛应用的编程语言,其在Web开发领域也有着重要的地位。JavaWeb开发技术栈涉及多项技术,如JavaEE、Servlet、JSP、Spr

用什么鼠标连点器比较好对于连点器,我推荐使用AutoClicker。它是一款简单易用的鼠标连点软件,可以帮助你自动点击鼠标。原因是AutoClicker具有以下优点1.界面简洁直观,操作简单,适合初学者使用。2.支持自定义点击间隔时间,可以根据需要调整点击速度。3.可以设置点击次数或持续点击,满足不同的需求。4.免费软件,无需付费购买。如果你想使用连点器,可以尝试一下AutoClicker。生死狙击2罗技鼠标宏怎么设置以下是在生死狙击2中设置罗技鼠标宏的步骤:1.首先,确保你已经购买并安装了罗技

jsp中iframe是一种用于嵌入其他网页或文档的HTML标签,可以实现页面的分割、动态加载、异步加载和跨域访问等功能。它为开发人员提供了更多的灵活性和交互性,可以提高网页的可用性和用户体验。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version
Recommended: Win version, supports code prompts!

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
