spring - 对于简单的 Spring Web 应用程序,带有 jsp+tiles 的 spring mvc 是最佳选择吗?
问题描述
对于简单的 Spring Web 应用程序,带有 jsp+apache tile 的 spring mvc 是最佳选择吗?还是应该更喜欢百里香或jsp+任何瓷砖?
解决方案
对于简单的 Spring Web 应用程序,带有 jsp+apache tile 的 spring mvc 是最佳选择吗?
答案是肯定的,以前这是一个不错的选择,但现在使用百里香。
应该更喜欢 thymeleaf 或 jsp+任何瓷砖?
答案:使用 thymeleaf 片段布局,这将像 jsp tile 一样为您服务。
推荐阅读
- javascript - 如何以角度将数据从一个组件传递到另一个组件(新浏览器选项卡)?
- kubernetes - 超出 K8s coredns 和 flannel 名称服务器限制
- python - 在 Django 中重定向时未设置 Cookie
- loops - How to sort categories alphabetically with liquid?
- java - java热交换一个库
- wordpress - VS Code 突出显示了我所有的 wordpress 函数名称
- gnuradio - GNUradio 安装,未能初始化 gtk
- android - Kotlin - Android 中 SmsReceiver 问题的广播接收器
- wpf - ReactiveUI CombineLatest 不触发 Func
- javascript - 在 Javascript 中通过标签名称获取信息