code: public void setControllerMapping(String controllerMapping) {
  		if (controllerMapping.endsWith("/")) {
  			this.controllerMapping = controllerMapping.substring(0,
  					controllerMapping.length() - 1);
  		} else {
  			this.controllerMapping = controllerMapping;
  		}
  	}
docs: Sets the controller mapping
  
  @param controllerMapping
  the controllerMapping to set