code: private void setupDispatcher() {
  		String dispatches = initParams
  				.get(WebContainerConstants.FILTER_MAPPING_DISPATCHER);
  		initParams.remove(WebContainerConstants.FILTER_MAPPING_DISPATCHER);
  		if (dispatches != null && dispatches.trim().length() > 0) {
  			if (dispatches.indexOf(",") > -1) {
  				// parse
  				StringTokenizer tok = new StringTokenizer(dispatches.trim(),
  						",");
  				while (tok.hasMoreTokens()) {
  					String element = tok.nextToken();
  					if (element != null && element.trim().length() > 0) {
  						dispatcher.add(DispatcherType.valueOf(element.trim().toUpperCase()).name());
  					}
  				}
  			} else {
  				dispatcher.add(DispatcherType.valueOf(dispatches.trim().toUpperCase()).name());
  			}
  		}
  	}
docs: /*