如何从 Sitemesh 演示应用程序修复 404

How to fix 404 from Sitemesh demo App

我已经按照 http://wiki.sitemesh.org/wiki/display/sitemesh/Start+Using+SiteMesh+in+10+Minutes 中的说明创建了 sitemesh 演示应用程序。 我是 运行 在 jboss eap 6.4 in eclipse oxygen。该应用程序出现没有错误。我可以访问我放置在 WebContent 文件夹中的 index.html 页面。但是两个 sitemesh 页面(menu.jsp 和 hours.jsp)产生 404 错误。控制台上没有记录任何错误。

我在 localhost:8080/mesh/menu 上收到 404 错误。jsp

我怀疑我有一些配置错误,但我看不到任何拼写错误。有什么方法可以获取更多日志记录或任​​何指向问题的方法吗?

web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
  <display-name>mesh</display-name>

<filter>
  <filter-name>sitemesh</filter-name>
  <filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class>
</filter>

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

<welcome-file-list>
  <welcome-file>index.html</welcome-file>
</welcome-file-list>

</web-app>

decorators.xml

<?xml version="1.0" encoding="UTF-8"?>
<decorators defaultdir="/decorators">
    <decorator name="basic-theme" page="basic-theme.jsp">
        <pattern>/data/*</pattern>
    </decorator>
</decorators>

文件布局

我的问题是我没有将浏览器指向 localhost:8080/mesh/data/menu.jsp.

就像我之前怀疑的那样。我的 configuration/understanding 错误。