DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41964>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41964 Summary: missing links on the examples application. Product: Tomcat 6 Version: 6.0.10 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hi, I found missing links on the examples application. It's because jsp-examples and servlet-examples were moved to under the examples. Here is a patch. Index: C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/WEB-INF/classes/servletToJsp.java =================================================================== --- C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/WEB-INF/classes/servletToJsp.java (revision 522964) +++ C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/WEB-INF/classes/servletToJsp.java (working copy) @@ -24,7 +24,7 @@ try { // Set the attribute and Forward to hello.jsp request.setAttribute ("servletName", "servletToJsp"); - getServletConfig().getServletContext().getRequestDispatcher("/jsptoserv/hello.jsp").forward(request, response); + getServletConfig().getServletContext().getRequestDispatcher("/jsp/jsptoserv/hello.jsp").forward(request, response); } catch (Exception ex) { ex.printStackTrace (); } Index: C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/include/include.jsp =================================================================== --- C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/include/include.jsp (revision 522964) +++ C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/include/include.jsp (working copy) @@ -26,7 +26,7 @@ <%@ include file="foo.jsp" %> -<p> <jsp:include page="/include/foo.html" flush="true"/> by including the output of another JSP: +<p> <jsp:include page="foo.html" flush="true"/> by including the output of another JSP: <jsp:include page="foo.jsp" flush="true"/> Index: C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/error/err.jsp =================================================================== --- C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/error/err.jsp (revision 522964) +++ C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/error/err.jsp (working copy) @@ -24,7 +24,7 @@ if (request.getParameter("name") == null) { %> - <%@ include file="/error/error.html" %> + <%@ include file="error.html" %> <% } else { foo.setName(request.getParameter("name")); Index: C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/forward/forward.jsp =================================================================== --- C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/forward/forward.jsp (revision 522964) +++ C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/forward/forward.jsp (working copy) @@ -11,7 +11,7 @@ if (percent < 0.5) { %> -<jsp:forward page="/forward/one.jsp"/> +<jsp:forward page="one.jsp"/> <% } else { %> Index: C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/sessions/carts.jsp =================================================================== --- C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/sessions/carts.jsp (revision 522964) +++ C:/eclipse_workspaces/tomcat_trunk/tomcat6/webapps/examples/jsp/sessions/carts.jsp (working copy) @@ -40,5 +40,5 @@ </FONT> <hr> -<%@ include file ="/sessions/carts.html" %> +<%@ include file ="carts.html" %> </html> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]