JWorld@TW
the best professional Java site in Taiwan
註冊
|
登入
|
全文檢索
|
排行榜
»
JWorld@TW
»
Servlet/JSP 討論區
列印話題
寄給朋友
話題被移動
該話題已被移動 - browser , 2003-07-21 18:18
如果您尚不清楚該話題被移動的原因,請參考
論壇規則
以及本版公告或者聯系本版版主。
本主題所含的標籤
無標籤
作者
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文 [Re:thondchen]
piggy
piggy
發文:
333
積分:
2
於 2003-07-22 01:43
會這樣嗎? 要不要把你的環境列出來給大家看一下
我簡單寫了三支程式測試了一下
並沒有你說的問題耶
我的環境是
Windows XP
Tomcat 4.1.24
aa.jsp程式碼如下:
<%@ page contentType="text/html; charset=Big5" %>
以下內容來自 test.html (使用jsp:include)<br>
<jsp:include page="test.html"/>
以下內容來自 test.html (使用<%@ include %><br>
<%@ include file="test2.html" %>
test.html程式碼如下:
<h1>瓜哇論談</h1><br>
test1.html程式碼如下:
<h1>叫我第一名</h1><br>
執行後的畫面:
An Apple a day, keeps M$ away
話題樹型展開
人氣
標題
作者
字數
發文時間
9248
[精華]
使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
thondchen
289
2003-07-21 18:13
8200
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
browser
459
2003-07-21 18:21
8147
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
planet
34
2003-07-21 21:59
9587
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
thondchen
220
2003-07-21 22:35
7926
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
thondchen
27
2003-07-21 22:41
8530
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
piggy
393
2003-07-22 01:43
8288
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
piggy
126
2003-07-22 01:59
8079
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
piggy
83
2003-07-22 02:08
7768
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
thondchen
160
2003-07-22 06:54
7770
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
thondchen
1088
2003-07-22 09:57
8444
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
piggy
651
2003-07-24 12:10
7618
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
piggy
90
2003-07-24 12:14
7436
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
duba
221
2003-11-14 18:27
7791
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
aladdin
768
2003-11-18 13:22
2078
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
scottchu
485
2010-07-01 14:17
2067
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
mylee
208
2010-07-01 15:22
2320
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
scottchu
198
2010-07-01 17:31
7396
Re:使用<jsp:include..來include 一個靜態的html檔但無法顯示中文
qukmei
93
2003-11-18 09:10
»
JWorld@TW
»
Servlet/JSP 討論區
已讀文章
新的文章
被刪除的文章
JWorld@TW
本站商標資訊
Powered by
Powerful JuteForum
® Version Jute 1.5.8