struts2
憤怒的前進
这个作者很懒,什么都没留下…
展开
-
Struts2.0国际化
Struts2.0国际化(转) struts2的国际化分三种情况:前台页面的国际化,Action类中的国际化,配置文件的国际化。 首先指定全局的国际化资源文件: 在配置文件struts.xml中引入 (注意位置) 或 在struts.properties文件中指定如下一行: struts.custom.i18n.resources=message ...原创 2011-05-25 16:23:03 · 82 阅读 · 0 评论 -
struts2中s:select标签的使用
1.第一个例子:<s:select list="{'aa','bb','cc'}" theme="simple" headerKey="00" headerValue="00"></s:select>2.第二个例子:<s:select list="#{1:'aa',2:'bb',3:'cc'}" label="abc&quo原创 2011-12-15 21:26:59 · 61 阅读 · 0 评论