private boolean isAjax(HttpServletRequest request) {
return "XMLHttpRequest".equals(request.getHeader("X-Requested-With"));
}
return "XMLHttpRequest".equals(request.getHeader("X-Requested-With"));
}
2018-07-23
是不是有個地方講的不對,之前說id=${user.name}顯示的是字段名 結(jié)果顯示的是字段值
2018-07-20
兩個classpath的配置方式不一樣
freemarker不需要最后的/
spring.freemarker.template-loader-path=classpath:/templates
thymeleaf最后需要加/
spring.thymeleaf.prefix=classpath:/templates/
freemarker不需要最后的/
spring.freemarker.template-loader-path=classpath:/templates
thymeleaf最后需要加/
spring.thymeleaf.prefix=classpath:/templates/
2018-07-14
其實這個老師在講課方法真的不行,有沒有這個老師毫無意義,可以直接給我們源碼就好了,不推薦基礎(chǔ)一般的人看,一頭霧水看完。
2018-07-13
Mymapper這個插件是自定義的都不說一下的嗎,老師,你說插件還以為是那種引入就可以使用的插件。
2018-06-27