[ http://issues.apache.org/jira/browse/BEEHIVE-384?page=history ] Alejandro Ramirez closed BEEHIVE-384: -------------------------------------
Verified Fixed. The user now gets the contents of FooController.jpf's begin page. Executed: repro steps. Also, there is a bvt at: ...\coreWeb\miniTests\servletInclude > Cannot do a Servlet include of a page flow URI > ---------------------------------------------- > > Key: BEEHIVE-384 > URL: http://issues.apache.org/jira/browse/BEEHIVE-384 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1Alpha, V1Beta > Environment: Tomcat 5.0.25 > Reporter: Rich Feit > Assignee: Alejandro Ramirez > Fix For: V1Beta > > - 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 > { > request.getRequestDispatcher( "/foo/FooController.jpf" ).include( > request, response ); > } > } > - 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'. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
