diff --git a/apps/showcase/src/main/java/org/apache/struts2/showcase/servlet/TestServlet.java b/apps/showcase/src/main/java/org/apache/struts2/showcase/servlet/TestServlet.java
new file mode 100644
index 000000000..f754bd3a6
--- /dev/null
+++ b/apps/showcase/src/main/java/org/apache/struts2/showcase/servlet/TestServlet.java
@@ -0,0 +1,41 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.struts2.showcase.servlet;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+
+public class TestServlet extends HttpServlet {
+ @Override
+ public void service(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
+ switch (request.getPathInfo()) {
+ case "/forward":
+ getServletContext().getRequestDispatcher("/dispatcher/dispatch.action").forward(request, response);
+ break;
+ default:
+ response.sendError(404);
+ break;
+ }
+ }
+}
diff --git a/apps/showcase/src/main/resources/struts.xml b/apps/showcase/src/main/resources/struts.xml
index cb47af8bf..6354a3657 100644
--- a/apps/showcase/src/main/resources/struts.xml
+++ b/apps/showcase/src/main/resources/struts.xml
@@ -44,7 +44,7 @@
-
+
diff --git a/apps/showcase/src/main/webapp/WEB-INF/web.xml b/apps/showcase/src/main/webapp/WEB-INF/web.xml
index 1bcfa4184..001641b7d 100644
--- a/apps/showcase/src/main/webapp/WEB-INF/web.xml
+++ b/apps/showcase/src/main/webapp/WEB-INF/web.xml
@@ -142,6 +142,11 @@
4
+
+ testServlet
+ org.apache.struts2.showcase.servlet.TestServlet
+
+
dwr
/dwr/*
@@ -162,6 +167,11 @@
/async/receiveNewMessages
+
+ testServlet
+ /testServlet/*
+
+