java - Sitemesh 3.2.1 is not working in the spring 6.1 mvc application - Stack Overflow

I have created a spring MVC 6.1 app sitemesh showing the blank screen on with both java based and xml b

I have created a spring MVC 6.1 app sitemesh showing the blank screen on with both java based and xml based configuration I am using sitemesh 3.2.1 WEB-INF/sitemesh3.xml only have mapping to the decorator and the I registered the filter in the web.xml followed the repo docs for the configuration. Is it a known issue or I am doing something wrong?

web.xml


<filter>
  <filter-name>sitemesh</filter-name>
  <filter-class>.sitemesh.config.ConfigurableSiteMeshFilter</filter-class>
</filter>

<filter-mapping>
  <filter-name>sitemesh</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

sitemesh.xml

<sitemesh>
    <mapping path="/*" decorator="gain.jsp"/>
</sitemesh>

Instead of showing the decorated page gain.jsp it shows blank screen

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744877663a4598646.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信