此外该模板知道线程绑定的会话,这个会话可以跨几个方法使用,这在使用事务型仓库时非常有用。
Moreover the template is aware of thread-bound sessions which can be used across several methods, functionality very useful when using a transactional repository.
视图将导致XSL模板将会话数据的XML表示转换为返回到客户机浏览器的本地化的HTML。
The view causes an XSL template to transform the XML representation of the session data into localized HTML returned to the client browser.
这可能意味着为构建新页面需要更多的数据库查询或甚至更多的数据库会话和模板解决方案。
This can imply multiple database queries and even multiple database sessions and templating solutions to build the new page.
应用推荐