Code example for WebMvcConfigurationSupport

0
 * @version 1.0 
 * @author: Iain Porter 
 * @since 21/05/2013 
 */ 
@Configuration 
public class WebConfiguration extends WebMvcConfigurationSupport { 
 
  @Bean 
  public RequestMappingHandlerMapping requestMappingHandlerMapping() { 
    RequestMappingHandlerMapping handlerMapping = super.requestMappingHandlerMapping(); 
    handlerMapping.setAlwaysUseFullPath(true); 
    return handlerMapping; 
  } 
}