Guest User

Untitled

a guest
Sep 20th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <link rel="stylesheet" th:href ="@{/css/css1.css}"/>
  2.  
  3. private static final String[] CLASSPATH_RESOURCE_LOCATIONS = {
  4. "classpath:/META-INF/resources/", "classpath:/resources/",
  5. "classpath:/static/", "classpath:/public/" };
  6.  
  7. registry.addResourceHandler("/**").addResourceLocations(RESOURCE_LOCATIONS);
Add Comment
Please, Sign In to add comment