(1)用IntelliJ Idea 快速创建springboot项目 (2)用spring的jdbcTemplate 连接数据库。 (3) 用Ajax取数据。 用JavaScript展示从数据库中查出的数据。