Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6937
  • 博文数量: 7
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 45
  • 用 户 组: 普通用户
  • 注册时间: 2015-01-19 11:23
文章分类

全部博文(7)

文章存档

2015年(7)

我的朋友
最近访客

发布时间:2015-01-29 12:47:33

<s:i18n name="viewResources.loginForm"><html><head>    <meta name="author" content="Yeeku.H.Lee(CrazyIt.org)" />    <meta http-equiv="Content-Type" content="text/html; charset=GBK" />    <!-- 使用text标签来输出国际化消息 -->    <title.........【阅读全文】

阅读(240) | 评论(0) | 转发(0)

发布时间:2015-01-28 12:25:31

1.设置cookie到客户端        Cookie c1 = new Cookie("username","hzh");            response.addCookie(c1);                        Coo.........【阅读全文】

阅读(319) | 评论(0) | 转发(0)

发布时间:2015-01-27 21:37:30

struts2的国际化大致上分为页面的国际化,Action的国际化以及xml的国际化 首先在struts.properties文件中加入以下内容:struts.custom.i18n.resources=messageResource或在struts.xml中加入<constant name="struts.custom.i18n.resources" value="messageResource"></constant> 其中value值自定.........【阅读全文】

阅读(605) | 评论(0) | 转发(0)

发布时间:2015-01-22 10:05:38

1,整合Struts2     a)导入struts的jar包         struts2-core-2.1.6.jar   xwork-2.1.2.jar  ognl-2.6.11.jar    freemarker-2.3.13.jar  commons-logging-1.1.jar  commons-fileupload-1.2.1.jar &nb.........【阅读全文】

阅读(217) | 评论(0) | 转发(0)

发布时间:2015-01-20 16:54:37

List,Set,Map是否继承自Collection接口? 答:List,Set是,Map不是。 如图:       Collection   ├List   │├LinkedList   │├ArrayList   │└Vector   │ └Stack   └Set   Map   ├Hashtable   ├HashMap   └WeakHashMap Collection是.........【阅读全文】

阅读(222) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册