I am wondering what Spring way to serve static files. He must support:
Something like the following, but using Spring 3's idioms ...
You can do @Controllerwith @RequestMapping("/static/{resourceName}and use the same logic as in BalusC Servlet
@Controller
@RequestMapping("/static/{resourceName}
Regarding gzip, use Tomcat or Apache configuration options.
Source: https://habr.com/ru/post/1753903/More articles:NetBeans 7 dependency graph (unused class / method) - mavenHow do I organize my SharePoint code? - c #Fluorine TransientAttribute and Linq-to-SQL - flashПроблемы кодирования символов веб-сайта Java - javaHudson, customizing an individual default view - hudsonAre locales global in perl? - formatIs there a way to determine if the Sense user interface is working on the device? - androidStrongly typed property reference to several classes without a common interface (C #) - polymorphismarray of threads in c sharp - arraysObjective-C: How to use xAuth? - objective-cAll Articles