Changes between Version 4 and Version 5 of waue/2010/0805
- Timestamp:
- Aug 5, 2010, 11:45:46 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2010/0805
v4 v5 12 12 * sun java jdk 6 13 13 * tomcat 6 14 = 使用 Eclipse 開發=14 = 內容 = 15 15 16 17 web.xml (可參考附件) 16 * web.xml (可參考附件) 17 || 一般 || || 18 || Eclipse || /WebContent/WEB-INF/web.xml || 18 19 19 20 {{{ … … 39 40 }}} 40 41 41 index.jsp 42 * index.jsp 43 || 一般 || || 44 || Eclipse || /WebContent/index.jsp || 45 42 46 {{{ 43 47 #!java … … 46 50 import="java.io.*,java.text.*,java.util.*,javax.servlet.jsp.*" %> 47 51 <%@ taglib uri="http://jakarta.apache.org/taglibs/i18n-1.0" prefix="i18n" %> 48 49 50 51 52 <HTML> 52 53 <HEAD> … … 55 56 </HEAD> 56 57 <BODY> 57 58 58 This page displays all key/value pairs in the bundle. 59 60 59 locale = <b><%= pageContext.getResponse().getLocale() %></b><br> 61 60 charset = <b><%= pageContext.getResponse().getCharacterEncoding() %></b><br> … … 69 68 <TR> <TD>2</TD><TD> <i18n:message key="test2"/></TD> </TR> 70 69 </TABLE> 71 72 73 70 </BODY> 74 71 </HTML> 75 72 }}} 76 73 77 taglibs-i18n.tld [http://trac.nchc.org.tw/cloud/raw-attachment/wiki/waue/2010/0805/taglibs-i18n.tld (可下載附件)] 74 * taglibs-i18n.tld 75 || 一般 || || 76 || Eclipse || /WebContent/WEB-INF/taglibs-i18n.tld || 77 78 [http://trac.nchc.org.tw/cloud/raw-attachment/wiki/waue/2010/0805/taglibs-i18n.tld (可下載附件)] 78 79 79 80 81 * taglibs-i18n.jar 82 || 一般 || || 83 || Eclipse || /WebContent/WEB-INF/lib/taglibs-i18n.jar || 80 84 85 [http://trac.nchc.org.tw/cloud/raw-attachment/wiki/waue/2010/0805/taglibs-i18n.jar (可下載附件)] 81 86 82 taglibs-i18n.jar [http://trac.nchc.org.tw/cloud/raw-attachment/wiki/waue/2010/0805/taglibs-i18n.jar (可下載附件)] 87 * i18n_en.properties 88 || 一般 || || 89 || Eclipse || /Java Resource:src /org.mytest/ || 83 90 84 85 i18n_en.properties86 91 {{{ 87 92 #!text … … 92 97 93 98 94 i18n_zh_TW.properties 99 * i18n_zh_TW.properties 100 || 一般 || || 101 || Eclipse || /Java Resource:src /org.mytest/ || 102 * utf8 轉碼工具 [http://www.tool.la/UTF-8/] 103 95 104 {{{ 96 105 #!text