Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

这时一个简单的SpringBoot程序,利用maven构建,使用JDBCtemplate作为持久层框架,利用SpringBoot内嵌的thymeleaf进行数据渲染,实现了从本地数据库查询并利用页面进行数据显示

Notifications You must be signed in to change notification settings

leizhang5s/SpringBootTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

SpringBootTest

这是一个简单的SpringBoot程序,利用maven构建,使用JDBCtemplate作为持久层框架,利用SpringBoot内嵌的thymeleaf进行数据渲染,实现了从本地数据库查询并利用页面进行数据显示 运行方法: 1导入maven项目后,运行cn.leizhang下的Application.class中的main方法;(框架内嵌了tomcat) 2打开浏览器输入网址localhost:8081/hello。 (注意,需要更改src/main/resources/config下的数据库url,username,password为自己的数据库配置,可以通过修改serve.port更改服务器端口号)

About

这时一个简单的SpringBoot程序,利用maven构建,使用JDBCtemplate作为持久层框架,利用SpringBoot内嵌的thymeleaf进行数据渲染,实现了从本地数据库查询并利用页面进行数据显示

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /