会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lwx_R
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
46
下一页
2023年2月22日
主键映射问题
摘要: 1.表中主键名称和实体类中不对应,导致结果为空 添加resultMap映射关系 <resultMap id="articleMap" type="wenxuan.ltd.LwxWeb.entity.Article"> <id column="article_id" property="article
阅读全文
posted @ 2023-02-22 11:56 轩哥聊码
阅读(24)
评论(0)
推荐(0)
2023年2月21日
去掉红色波浪线
摘要: 
阅读全文
posted @ 2023-02-21 19:00 轩哥聊码
阅读(28)
评论(0)
推荐(0)
常用标签
摘要: 2.连接表达式 3.变量表达式(数据渲染) 4.消息表达式
阅读全文
posted @ 2023-02-21 19:00 轩哥聊码
阅读(20)
评论(0)
推荐(0)
html乱码 jsp不乱码
摘要: 需要在web.xml里将拦截器删除 将下面注释掉 <!--post乱码过滤器--> <!-- 配置springMVC编码过滤器 --> <filter> <filter-name>CharacterEncodingFilter</filter-name> <filter-class>org.spri
阅读全文
posted @ 2023-02-21 18:53 轩哥聊码
阅读(29)
评论(0)
推荐(0)
@ResponseBody遇到问题
摘要: 1.No converter found for return value of type: class java.util.ArrayList springmvc 默认是没有对象转换成json的转换器的 手动添加jackson依赖 <!-- jackson--> <dependency> <gro
阅读全文
posted @ 2023-02-21 18:50 轩哥聊码
阅读(37)
评论(0)
推荐(0)
参数获取
摘要: 1.get请求在url中通过?指定参数 直接将其写在参数上即可获得 public String addUser1(String username,String password) { System.out.println("username is:"+username); System.out.pr
阅读全文
posted @ 2023-02-21 13:07 轩哥聊码
阅读(32)
评论(0)
推荐(0)
easy-captcha使用
摘要: 1.pom.xml <!-- 图形验证码--> <dependency> <groupId>com.github.whvcse</groupId> <artifactId>easy-captcha</artifactId> <version>1.6.2</version> </dependency>
阅读全文
posted @ 2023-02-21 00:18 轩哥聊码
阅读(143)
评论(0)
推荐(0)
spring中处理json
摘要: 1.使用fastJson 2.controller层 @PostMapping("") @ResponseBody public BaseResponse jsonFunction(@RequestBody String jsonData){ BaseResponse baseResponse =
阅读全文
posted @ 2023-02-21 00:12 轩哥聊码
阅读(28)
评论(0)
推荐(0)
layuiAdmin使用
摘要: 1.下载layuiAdmin实例 2.修改std版本的views界面 3.实体管理界面 3.1 表单html <!-- 文章列表--> <div class="layui-card-body"> <div style="padding-bottom: 10px;"> <button class="l
阅读全文
posted @ 2023-02-21 00:03 轩哥聊码
阅读(1176)
评论(0)
推荐(0)
2023年1月30日
分页工具pageHelper
摘要: 1. 依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.10</version> </dependency> 2.service层 只有紧
阅读全文
posted @ 2023-01-30 18:23 轩哥聊码
阅读(149)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
46
下一页
公告