close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_delta.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 18, 2011, 4:05:53 PM (14 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v4
|
v5
|
|
| 11 | 11 | |
| 12 | 12 | = 問題 = |
| 13 | | 獨立使用 tomcat 開啟的 jsp ,在網頁和網頁之間傳遞參數沒有問題 |
| 14 | | [[Image(2.jpg,width=600)]] |
| | 13 | * 獨立使用 tomcat 開啟的 jsp ,在網頁和網頁之間傳遞參數沒有問題 |
| 15 | 14 | |
| 16 | | 但是用 eclipse 開啟 tomcat server ,在網址傳遞到網頁端則出現亂碼 |
| 17 | | [[Image(1.jpg,width=600)]] |
| | 15 | [[Image(2.png,width=600)]] |
| | 16 | |
| | 17 | * 但是用 eclipse 開啟 tomcat server ,在網址傳遞到網頁端則出現亂碼 |
| | 18 | |
| | 19 | [[Image(1.png,width=600)]] |
| 18 | 20 | |
| 19 | 21 | 以下列出 eclipse 環境設定為 UTF-8 的方法 |
| … |
… |
|
| 33 | 35 | 右側Context Types樹,點開Text中每一顆子項,並在中輸入"UTF-8",點update! |
| 34 | 36 | |
| 35 | | == 3. 檢查 server.xml 的設定== |
| | 37 | == 3. 檢查 server.xml 的設定 == |
| 36 | 38 | 左側專案樹 -> Servers -> TomcatXXXX-config : server.xml |
| 37 | 39 | {{{ |
| | 40 | #!text |
| 38 | 41 | <Connector port="7080" protocol="HTTP/1.1" |
| 39 | 42 | connectionTimeout="20000" |