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