91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

java實現(xiàn)國際化中英文語言切換 java語言切換JSP國際化 java實現(xiàn)國際化中英文語言切換 java語言切換JSP國際化

資源截圖

代碼片段和文件信息

package?com.dadao.struts2;

import?java.util.Locale;?

import?com.opensymphony.xwork2.ActionSupport;?
import?com.opensymphony.xwork2.util.LocalizedTextUtil;?

public?class?HelloWorld?extends?ActionSupport?{?
????private?static?final?long?serialVersionUID?=?1L;?
????private?Locale?loc;?
????private?String?message;?
????private?String?userName;
????@Override?
????public?String?execute()?throws?Exception?{?
????????message=LocalizedTextUtil.findDefaultText(“Hello“l(fā)oc);?
????????userName=LocalizedTextUtil.findDefaultText(“userName“l(fā)oc);?
????????return?SUCCESS;?
????}?
????public?Locale?getLoc()?{?
????????return?loc;?
????}?
????public?void?setLoc(Locale?loc)?{?
????????this.loc?=?loc;?
????}?
????public?String?getMessage()?{?
????????return?message;?
????}?
????public?String?getUserName()?{?
????????return?userName;?
????}?
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1414??2013-11-17?22:56??struts01\.project

?????文件???????2136??2013-05-29?11:56??struts01\struts_01.txt

?????文件????????740??2013-05-29?11:38??struts01\.classpath

?????文件????????299??2013-11-29?11:26??struts01\.mymetadata

?????文件????1692422??2013-05-29?11:57??struts01\struts2_01.bmp

?????文件????????500??2013-11-17?22:56??struts01\.settings\.jsdtscope

?????文件??????????6??2013-11-17?22:56??struts01\.settings\org.eclipse.wst.jsdt.ui.superType.name

?????文件?????????49??2013-11-17?22:56??struts01\.settings\org.eclipse.wst.jsdt.ui.superType.container

?????文件????????141??2013-11-18?18:43??struts01\.settings\org.eclipse.core.resources.prefs

?????文件????????754??2013-11-18?18:55??struts01\WebRoot\index.jsp

?????文件?????????39??2013-05-29?11:38??struts01\WebRoot\meta-INF\MANIFEST.MF

?????文件????????882??2013-11-18?18:35??struts01\WebRoot\WEB-INF\web.xml

?????文件?????????49??2013-11-18?18:44??struts01\WebRoot\WEB-INF\classes\xwork-conversion.properties

?????文件????????436??2013-11-18?18:45??struts01\WebRoot\WEB-INF\classes\struts.xml

?????文件?????????43??2013-11-18?18:48??struts01\WebRoot\WEB-INF\classes\struts.properties

?????文件?????????55??2013-11-18?18:59??struts01\WebRoot\WEB-INF\classes\globalMessages_zh_CN.properties

?????文件?????????32??2013-11-18?18:54??struts01\WebRoot\WEB-INF\classes\globalMessages_en_US.properties

?????文件????????993??2013-11-21?12:19??struts01\WebRoot\WEB-INF\classes\com\dadao\struts2\LocalConverter.class

?????文件???????1190??2013-11-21?12:19??struts01\WebRoot\WEB-INF\classes\com\dadao\struts2\HelloWorld.class

?????文件?????756085??2013-05-29?11:38??struts01\WebRoot\WEB-INF\lib\struts2-core-2.1.8.jar

?????文件?????879259??2013-05-29?11:38??struts01\WebRoot\WEB-INF\lib\freemarker-2.3.15.jar

?????文件??????57779??2013-05-29?11:38??struts01\WebRoot\WEB-INF\lib\commons-fileupload-1.2.1.jar

?????文件????1557320??2013-05-29?11:38??struts01\WebRoot\WEB-INF\lib\xwork-core-2.1.6.jar

?????文件?????239803??2013-05-29?11:38??struts01\WebRoot\WEB-INF\lib\ognl-2.7.3.jar

?????文件??????10072??2013-11-18?18:57??struts01\WebRoot\WEB-INF\work\_jsp\_index__jsp.java

?????文件????????245??2013-11-18?18:57??struts01\WebRoot\WEB-INF\work\_jsp\_index__jsp.java.smap

?????文件???????8567??2013-11-18?18:57??struts01\WebRoot\WEB-INF\work\_jsp\_index__jsp.class

?????文件????????198??2013-11-17?22:57??struts01\WebRoot\jsp\Welcome.jsp

?????文件????????436??2013-11-18?18:45??struts01\src\struts.xml

?????文件?????????43??2013-11-18?18:48??struts01\src\struts.properties

............此處省略26個文件信息

評論

共有 條評論

相關資源