摘要: 1,创建spring boot的web项目 刚创建好的项目路径如下: 2,pom中要有下面的依赖 3,创建webapp目录以及index.jsp 3.application.yml中的配置 4,写一个跳转的controller 5,最终启动,不能用启动类启动,要配置tomcat启动 下面最后的一步设 阅读全文
posted @ 2018-07-24 17:53 無玑小姐 阅读(687) 评论(0) 推荐(2) 编辑
摘要: 在启动类中配置 阅读全文
posted @ 2018-07-24 16:11 無玑小姐 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 以上是Oracle数据库中的写法 二,MySQL数据库中的写法 MySQL批量插入并返回所有主键的写法 <insert id="id" userGeneratedKeys="true" keyProperty="id"> 输出id for(User user : list){ user.getId( 阅读全文
posted @ 2018-07-24 16:11 無玑小姐 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 原地址:https://zhidao.baidu.com/question/1574784863775980300.html 阅读全文
posted @ 2018-07-24 16:06 無玑小姐 阅读(5948) 评论(2) 推荐(3) 编辑
摘要: HTML代码: js触发点击选择文件代码: 上传的请求: 阅读全文
posted @ 2018-07-24 16:04 無玑小姐 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 为 <div> 元素添加 class: document.getElementById(“myDIV”).classList.add(“mystyle”); 为 <div> 元素添加多个类: document.getElementById(“myDIV”).classList.add(“mystyl 阅读全文
posted @ 2018-07-24 15:58 無玑小姐 阅读(940) 评论(0) 推荐(0) 编辑
摘要: 1, 2, 原地址:https://blog.csdn.net/u011127019/article/details/59112030/ 阅读全文
posted @ 2018-07-24 15:57 無玑小姐 阅读(56611) 评论(0) 推荐(1) 编辑
摘要: 报错日志:org.springframework.jdbc.UncategorizedSQLException: Error updating database. Cause: java.sql.SQLException: sql injection violation, syntax error: 阅读全文
posted @ 2018-07-24 15:55 無玑小姐 阅读(6457) 评论(0) 推荐(0) 编辑