iT邦幫忙

0

JAVA網頁問題

小k 2017-04-14 15:30:246149 瀏覽

目前有一個網站 是測試環境
是用JAVA寫的
我在SERVER知道是用TOMCAT架設的
我現在要修改首頁的功能 要怎麼找到檔案?

小k iT邦新手 4 級 ‧ 2017-04-14 16:03:56 檢舉
或者說我開如何開啟JAVA寫的網頁檔案?
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

2
海綿寶寶
iT邦大神 1 級 ‧ 2017-04-14 18:17:57
最佳解答

先找到 TOMCAT_HOME/conf/web.xml
再看內容找到首頁
大概像這樣

<welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
</welcome-file-list>

然後找個文字編輯器就可以編輯程式檔案了

參考資料來源

小k iT邦新手 4 級 ‧ 2017-04-17 16:12:28 檢舉

謝謝!!

我要發表回答

立即登入回答