
Struts2
文章平均质量分 77
bits00
有的时候,我好想哭,但是我不知的怎么流泪。
如果一个从不会流泪的人,却并不代表他有多么坚强,那么这是一种悲哀。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Strust2 constant 配置
<!-- struts2加载常量的顺序 struts-default.xml struts-plugin.xml struts.xml struts.properties web.xml 后面的会覆盖掉前面的常量,最好在struts.xml中定义 -->原创 2011-12-08 09:26:40 · 828 阅读 · 0 评论 -
Struts2 的国际化
1. 关于国际化的配置:struts.xml2.在action中语言的设置://得到浏览器的本地语言HttpServletRequest req = ServletActionContext.getRequest();Locale lang1 = req.getLocale();//创建语言Locale lang2 = new Locale("en", "US");//英语原创 2011-12-08 11:49:30 · 750 阅读 · 0 评论 -
struts2 的注解配置
1. 必要的jar包:commons-fileupload-1.2.1.jarcommons-io-1.4.jarcommons-logging-1.1.1.jarcommons-logging-api.jarfreemarker-2.3.15.jarognl-2.7.3.jarstruts2-core-2.1.8.1.jarxwork-core-2.1.6.jar原创 2011-12-08 10:50:48 · 8993 阅读 · 2 评论