1,..\web\src\main\resources\spring\web-men-applicationContext.xml 保留原有的bean配置 <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <!-- set the max upload size100MB --> &l…
1 设置应用端口以及context # HTTP Server port server.port=8080 # Make the application accessible on the given context path (http://localhost:8080/myapp) server.servlet.context-path=/myapp 2 启用Gzip压缩 # Enable response compression server.compression.enabled=tru…