See gh-4448
pull/4456/merge
Stephane Nicoll 9 years ago
parent 2ac18a33d5
commit 0c8d302a98

@ -79,7 +79,7 @@ public class WebMvcProperties {
private Map<String, MediaType> mediaTypes = new LinkedHashMap<String, MediaType>(); private Map<String, MediaType> mediaTypes = new LinkedHashMap<String, MediaType>();
/** /**
* Path that pattern used for static resources. * Path pattern used for static resources.
*/ */
private String staticPathPattern = "/**"; private String staticPathPattern = "/**";

@ -310,7 +310,7 @@ content into your application; rather pick only the properties that you need.
spring.mvc.locale= # Locale to use. spring.mvc.locale= # Locale to use.
spring.mvc.media-types.*= # Maps file extensions to media types for content negotiation. spring.mvc.media-types.*= # Maps file extensions to media types for content negotiation.
spring.mvc.message-codes-resolver-format= # Formatting strategy for message codes. For instance `PREFIX_ERROR_CODE`. spring.mvc.message-codes-resolver-format= # Formatting strategy for message codes. For instance `PREFIX_ERROR_CODE`.
spring.mvc.static-path-pattern=/** # Path that pattern used for static resources. spring.mvc.static-path-pattern=/** # Path pattern used for static resources.
spring.mvc.throw-exception-if-no-handler-found=false # If a "NoHandlerFoundException" should be thrown if no Handler was found to process a request. spring.mvc.throw-exception-if-no-handler-found=false # If a "NoHandlerFoundException" should be thrown if no Handler was found to process a request.
spring.mvc.view.prefix= # Spring MVC view prefix. spring.mvc.view.prefix= # Spring MVC view prefix.
spring.mvc.view.suffix= # Spring MVC view suffix. spring.mvc.view.suffix= # Spring MVC view suffix.

Loading…
Cancel
Save