Description
- Create a page flow /foo/FooController.jpf.
- Create the following Servlet class in WEB-INF/src/foo/IncludeJPFServlet.java:
package foo;
import javax.servlet.http.*;
import javax.servlet.*;
import java.io.IOException;
public class IncludeJPFServlet
extends HttpServlet
{
public void doGet( HttpServletRequest request, HttpServletResponse response ) throws IOException, ServletException
}
- Register the Servlet in web.xml:
<servlet>
<servlet-name>IncludeJPF</servlet-name>
<servlet-class>foo.IncludeJPFServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>IncludeJPF</servlet-name>
<url-pattern>/includefoo/*</url-pattern>
</servlet-mapping>
- Build the webapp, and hit http://localhost:8080/<your webapp>/includefoo
Expected: the contents of FooController.jpf's begin page
Actual: a 'Module Not Found' error that references '/includefoo'.