Home > Database > Mysql Tutorial > tomcat连接mysql数据库_MySQL

tomcat连接mysql数据库_MySQL

WBOY
Release: 2016-05-31 08:49:04
Original
1503 people have browsed it

Tomcat

今天试了试连接mysql数据库,成功了,就写点东西,毕竟成长的路还很长,纪念下。

	<title>欢迎xasasa</title>
Copy after login
这就是index.jsp的内容。mystuts2是database名称,students为表名。具体数值自己去mysql插入。


这就是结果,总而言之,代码不算太复杂,掌握原理最重要。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template