当前位置:网站首页>thymeleaf common公共页面不能使用其他页面 (后台传入)相关的值(map,model等待注入的值)
thymeleaf common公共页面不能使用其他页面 (后台传入)相关的值(map,model等待注入的值)
2022-04-23 00:32:00 【假期的学习】
1、 问题
thymeleaf common公共页面不能使用其他页面 (后台传入)相关的值(map,model 等等注入的值)
2、 原因
后台的值只是传入到相应的页面了,其他页面不能取值
(我之前以为我使用 th:include、insert、replace 引入的公共页面的值,那部分代码会在已经引入到的页面解析相关代码,但是好像不是)
3、 考虑解决办法
3.1 把数据相关的代码放到相应的页面,不放公共页面
3.2 把除了数据相关的代码放公共页面(不靠谱)
版权声明
本文为[假期的学习]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_43987149/article/details/124287065
边栏推荐
- (transfer) Aspose Word programming guide DOM tree recognition, the relationship between each layer structure
- EL2124模块接线和引脚含义
- C#控制台应用程序运行时一闪而过解决方法
- Absolute positioning does not use left, right, top, bottom and other attributes
- 市场格局进入重构期,ESP频繁「召回」,中国供应商「乘势而上」
- ArcMAP 使用绘图工具添加注记
- MySQL installation and basic use tutorial
- Installing MySQL in centos7
- NPM and NPX view dependent package versions
- ArcGIS 城市生活区用地适宜性评价(二)
猜你喜欢

Utiliser dottrace 6. 0 performance, analyse de mémoire

ArcGIS 城市生活区用地适宜性评价(二)

ArcGIS urban living area land suitability evaluation (IV)

【图像分类】用最简单的代码复现SENet,初学者一定不要错过(pytorch)

Beginner MCU lights up the first peripheral -- led light

(transfer) how winscp (SSH FTP client) generates the key to log in Linu

(turn to) C # best tool set: IDE, analysis, automation tools, etc

ArcGIS 地表TIN面数据的符号化

Object size and pointer compression -- JVM

倍福NC轴走速度模式
随机推荐
【AI视野·今日Sound 声学论文速览 第四期】Thu, 21 Apr 2022
[C#]给地球点颜色看看
MySQL -- table operation
Mitsubishi fx5u configures iebasic setting of mr-je-c servo driver
Add a route between two CX controllers of Beifu
repeat_ map mp. find() + mp. erase()
ArcGIS 计算地块容积率
ArcGIS 制作3D规划图纸
(转)WinSCP(SSH的FTP客户端)如何生成密钥登陆linu
TiDB 在连锁快餐企业丨海量交易与实时分析的应用探索
Making 3D remote sensing image map with ArcGIS
接口文档生成工具ApiPost 绝了
Utiliser dottrace 6. 0 performance, analyse de mémoire
[image classification] understand Alex net
微软官网下载Net Framework流程
ArcGIS 城市生活区用地适宜性评价(一)
Linear basis (various templates + examples)
(转)SSH 登录配置与文件传输
Deletes all specified elements in the vector
[AI vision · quick review of today's sound acoustic papers, issue 4] Thu, 21 APR 2022