Ejemplo n.º 1
0
 public void addWelcomeFile(String s) {
   // user specified at least one user welcome file, remove the system
   // files
   if (s == null) return;
   s = s.trim();
   if (s.length() == 0) return;
   if (expectUserWelcomeFiles) {
     removeWelcomeFiles();
     expectUserWelcomeFiles = false;
   }
   welcomeFiles.addElement(s);
 }
Ejemplo n.º 2
0
 /**
  * Virtual host support - this context will be part of a virtual host with the specified name. You
  * should set all the aliases. XXX Not implemented
  */
 public void addHostAlias(String alias) {
   vhostAliases.addElement(alias);
 }