关于struts2.1.8后的静态资源映射问题-- 误人的复制
2013-11-28 00:00
246 查看
由于struts2.1.8之前的版本用的是FilterDispatcher,对static资源的映射都在网上有一些做法,我就不写了,
不过最近看到官方的static content 这块的说明中的一段原文:
This loader is not optimized to handle static content, and to improve performance, it is recommended that you extract your static content to the web application directory, and let the container handle them.
我英文不行,google了一把:
这个加载器没有优化处理静态内容,并提高性能,建议您提取您的静态内容的Web应用程序目录,而让容器处理。
这个意思应该是建议让开发者自己处理,struts2提供的功能没有什么实际意义。
是这个意思吧,大伙有明白的请回我。
不过最近看到官方的static content 这块的说明中的一段原文:
This loader is not optimized to handle static content, and to improve performance, it is recommended that you extract your static content to the web application directory, and let the container handle them.
我英文不行,google了一把:
这个加载器没有优化处理静态内容,并提高性能,建议您提取您的静态内容的Web应用程序目录,而让容器处理。
这个意思应该是建议让开发者自己处理,struts2提供的功能没有什么实际意义。
是这个意思吧,大伙有明白的请回我。
相关文章推荐
- struts2.1.8 StrutsPrepareAndExecuteFilter 关于静态资源处理问题
- struts2.1.8 StrutsPrepareAndExecuteFilter 关于静态资源处理问题。访问classPath下静态资源
- 关于springmvc的静态资源映射问题
- 关于springMVC中controller与静态资源不能同时访问的问题
- 96. Spring Boot之静态资源版本映射(解决js/css缓存问题)
- 关于struts Validator在多模块下多国语言资源访问的问题解决之道(一)struts Validator下使用多模块的多国语言资源
- 关于nginx+tomcat搭建反向代理时加载静态资源找不到的问题
- 关于SpringMVC框架下的静态资源的引用问题
- SpringMVC在做静态资源映射的时候需要注意的问题
- 关于@requestMapping跳转页面静态资源无法加载问题
- 关于静态资源访问的路径问题
- 关于web项目静态资源路径、action路径的控制问题
- 使用golang的标准库搭建网站--4.关于静态资源处理的问题
- 关于springMVC无法加载静态资源的问题
- 关于Struts的资源文件中文化问题(Eclipse中)
- 关于res资源文件编译后复制到bin文件中的问题
- 关于struts2.1.8 spring ibatis 与 dwr2的整合 遇到的问题( 二 )
- 关于tomcat配置静态资源访问路径的问题
- 关于SpringMVC的静态资源文件加载问题
- 关于使用security和静态资源被拦截的问题