SiteMesh2-sitemesh.xml的ParameterDecoratorMapper映射器的用法

繼續使用上一章http://www.cnblogs.com/EasonJim/p/7086916.html的例子,改造成使用ParameterDecoratorMapper映射器的方法,這個映射器不需要通過匹配URL和在頁面上寫模板路徑去實現,只需要通過URL上傳入指定參數即可。 修改配置如下: 1、sitemesh.xml引入ParameterDecoratorMapper映射器 <siteme
相關文章
相關標籤/搜索