# HTML+JS+SpringBoot简单实例
**Repository Path**: YiCloud/HTMLJSSB_test1
## Basic Information
- **Project Name**: HTML+JS+SpringBoot简单实例
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: AFL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2020-03-10
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# HTML+JS+SpringBoot简单实例
## 0.运行
1. 编辑根目录demo.html中`testget()`和`testpost()`方法中的url为localhost:8080
2. IDEA导入项目
3. 启动SpringBoot工程
4. 浏览器打开demo.html,点击按钮即可看到效果
## 1.SpringBoot部分
- 项目内容参考自
> https://www.cnblogs.com/wuyizuokan/p/11117294.html
- 需要注意的点:
- RESTful风格
- SpringBoot解决跨域的办法
- 参考:
> https://segmentfault.com/a/1190000019550329?utm_source=tag-newest
## 2.HTML+JS部分
- 元素选择器的使用
- Ajax的使用