03 2019 档案

摘要:添加@responsebody 为什么呢 ? 因为在进行ajax传输的时候 我已指定传输的类型为 json数据类型 要是不加的话 它只是Boolean类型 而不是json类型 阅读全文
posted @ 2019-03-31 23:11 寂静生长 阅读(1322) 评论(0) 推荐(0)
摘要:1原因:这是因为springmvc默认是没有对象转换成json的转换器的,需要添加jackson依赖。 简而言之 需要将对象转化为json对象 Jackson 是一种实现方式 <dependency> <groupId>com.fasterxml.jackson.core</groupId> <ar 阅读全文
posted @ 2019-03-29 19:24 寂静生长 阅读(331) 评论(0) 推荐(0)
摘要:1、 ${pageContext.request.contextPath}是JSP取得绝对路径的方法,等价于<%=request.getContextPath()%> 。 也就是取出部署的应用程序名或者是当前的项目名称 比如我的项目名称是demo1在浏览器中输入为 http://localhost: 阅读全文
posted @ 2019-03-29 19:08 寂静生长 阅读(870) 评论(0) 推荐(0)
摘要:今天整合ssm框架 时 遇到的问题 困扰我好长时间 原因就是 mapper文件 没有被加载进来 但是 为什么没有被加载进来呢 因为中间的配置文件出了一些问题 网上大多数说法是 在pom文件下 加入 可以加载mapper 文件 但是我的还是没有成功 所以总结方法如下 看看自己的mapper 文件的 n 阅读全文
posted @ 2019-03-27 01:39 寂静生长 阅读(895) 评论(0) 推荐(0)
摘要:这种问题 在网上查的是说使用了重复的property-placeholder 可能是在别的xml 也用了property-placeholder 解决方法 加上 ignore-unresolvable="true" Attribute : ignore-unresolvableSpecifies i 阅读全文
posted @ 2019-03-18 20:41 寂静生长 阅读(1948) 评论(0) 推荐(0)
摘要:yum出现Could not retrieve mirrorlist解决方法 Loaded plugins: fastestmirror, securityLoading mirror speeds from cached hostfileCould not retrieve mirrorlist 阅读全文
posted @ 2019-03-08 13:57 寂静生长 阅读(65570) 评论(3) 推荐(1)

/* 看板娘 */ /* */