- 博客(4)
- 收藏
- 关注
原创 Springboot不能访问templates文件夹下html,IDEA导入依赖时报红
其实很简单,主要是自己弄麻烦了。 软件为IDEA 1、新建项目,文件布局如下,代码在下方 2、在pom.xml中添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-s...
2019-11-08 16:11:53
1071
转载 使用input file选择图片后在指定位置显示
使用input file预览图片 input框设置 <input type="file" id="myFile" value="" /> JS设置 <script type="text/javascript"> var fileObj = ""; var imgData = ""; $("#myFile").change(functi...
2019-04-26 22:50:34
2563
1
原创 Could not resolve type alias 'QueryVo'
最近在学习MyBatis时出现的一个问题 当想使用包装对象QueryVo作为输入类型时,出现了Could not resolve type alias 'QueryVo’的错误 错误原因是因为输入类型没写对。。。 原代码 <select id="findUserByQueryVo" parameterType="QueryVo" resultType="pojo.User"> s...
2019-04-22 11:18:51
1366
原创 类似iFrame将多个页面合在一起的方法
类似iFrame将多个页面合在一起的方法 最近做毕业设计做前端时想到多个页面都会使用到相同的头部和尾部,所以一开始是想着用Frame把页面加载进去。 &lt;body&gt; &lt;iframe src="header.html" width="100%" height="auto" marginwidth="0&
2019-01-03 14:09:50
5047
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人