billbarker 2003/02/16 21:07:31
Modified: coyote/src/java/org/apache/coyote/tomcat5
CoyoteConnector.java
Log:
Add the 'processWelcomeResources' attribute to a place that it can be configured.
Revision Changes Path
1.16 +15 -1
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteConnector.java
Index: CoyoteConnector.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteConnector.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- CoyoteConnector.java 17 Feb 2003 01:17:28 -0000 1.15
+++ CoyoteConnector.java 17 Feb 2003 05:07:30 -0000 1.16
@@ -844,6 +844,20 @@
maxKeepAliveRequests = 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();
+ }
+
/**
* 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]