我正在使用 spring 来显示 jsp 页面。没关系。现在我想在其中包含另一页。我知道我可以使用<jsp:include>
标签在我的页面中,但是我想使用 Controller 将一些逻辑传递到要包含的页面。请问可以吗?
谢谢
Krt_马耳他
最佳答案
您可能想要检查模板引擎,例如 Freemarker或Velocity 。 Here's Spring 如何与 View 技术集成的描述。
关于java - 使用 spring 包含页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4554547/