SpringBoot访问静态资源

    xiaoxiao2024-11-16  74

    1.SpringBoot从classpath/static的目录

         a.目录名称必须为staitc

            

      

    2.ServletContext根目录下

         a.在src/main/webapp 目录名称必须为webapp

             

    最新回复(0)