[Debug]
来源:互联网 发布:linux free swap 编辑:程序博客网 时间:2024/06/07 22:35
在使用Thymeleaf的时候,@RequestMapping对应的函数没有返回html文件而是返回了这个函数对应的字符串返回值
解决办法:
删除这个函数前面的@Responsebody注解,这个注解会返回Mapping函数指定的返回类型、例如String。而不是将其解析为html文件
阅读全文
0 0
- DEBUG
- debug
- DEBUG
- debug
- debug
- debug
- DEBUG
- Debug
- Debug
- debug
- debug
- DEBUG
- debug
- debug
- Debug
- debug《》
- Debug
- debug
- c# 面向对象基础技能
- [Leetcode] 152. Maximum Product Subarray
- git使用手册
- 在C程序中调用汇编函数
- Scala学习七:数组
- [Debug]
- caffe 借助自己图像在imagenet网络中实践
- leetcode rotate-image(90°旋转矩阵)
- CSS box-sizing 属性详解
- DNS的配置
- CS231N-Lecture4 Backpropagation&Neural Network
- APT & DPKG
- Ehcache详细解读
- Hbase原理、基本概念、基本架构