SpringBoot訪問靜態資源

1. SpringBoot 從 classpath/static 的目錄訪問        注意目錄名稱必須是 static 2. ServletContext 根目錄下     在 src/main/webapp 目錄名稱必須要 webapp(自己創建)
相關文章
相關標籤/搜索