JavaEE
tc_lwh
有趣的皮囊
展开
-
mybatis逆向工程,生成的xml文件重复ResultMap,有上千行代码问题。org.apache.ibatis.exceptions.PersistenceException
org.apache.ibatis.exceptions.PersistenceException:org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in com/aliyun/mybatis/pojo/UserMapper.xml...原创 2018-09-16 00:19:54 · 1872 阅读 · 2 评论 -
Request和Response乱码问题
Request的Get方法中文乱码解决方案:String username= request.getParameter("username");new String(username.getBytes("ISO8859-1"),"UTF-8")Request的Post方法中文乱码解决方案:request.setCharacterEncoding(&q原创 2018-09-04 11:10:10 · 128 阅读 · 0 评论