billbarker 2003/07/22 21:32:33 Modified: catalina/src/share/org/apache/coyote/tomcat5 CoyoteConnector.java Log: The current draft of the 2.4 Servlet-Spec (pfd3 Section 9.10) mandates that processWelcomeResources=true and redirectDirectories=true. Simplifying the mappings, by removing the options. It is easy enough to add them back in if the spec people change their minds about this, but for the moment we have to follow the spec. Revision Changes Path 1.14 +1 -31 jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java Index: CoyoteConnector.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- CoyoteConnector.java 22 Jul 2003 21:02:07 -0000 1.13 +++ CoyoteConnector.java 23 Jul 2003 04:32:33 -0000 1.14 @@ -983,36 +983,6 @@ setProperty("maxKeepAliveRequests", String.valueOf(mkar)); } - /** - * Set the flag to see if we do internal redirects to welcome-files. - */ - public void setProcessWelcomeResources(boolean pwr) { - mapper.setProcessWelcomeResources(pwr); - } - - /** - * Return the flag to see if we do internal redirects to welcome-files. - */ - public boolean getProcessWelcomeResources() { - return mapper.getProcessWelcomeResources(); - } - - /** - * Set the flag to see if we do a redirect to directories that don't end - * in a '/'. - */ - public void setRedirectDirectories(boolean rd) { - mapper.setRedirectDirectories(rd); - } - - /** - * Return the flag to see if we do a redirect to directories that don't - * end in a '/'. - */ - public boolean getRedirectDirectories() { - return mapper.getRedirectDirectories(); - } - /** * Return the scheme that will be assigned to requests received * through this connector. Default value is "http".
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]