eclipse?
在使用開源eclipse的開發java web專案時需要在eclipse中執行web專案 eclipse中tomcat的配置方法和簡單使用介紹一下
工具/原料
eclipse、tomcat
方法/步驟
在eclipse 的工具欄中點選“Window”選擇 “Preference”
在Preference 左側欄目中點選“Server“->”Runtime Environments“ 中的Add按鈕
點選下圖中的“Apache”中的 tomcat版本“Apache Tomcat v7.0”點選Next
點選Browse…按鈕找到tomcat的解壓目錄,點選Finish按鈕
在eclipse 右下方 的Servers 中可以選中“Tomcat v7.0 Server at localhost” 右擊 選擇“Add and Remove”新增web專案
選擇一個專案 然後點選 “Add>”按鈕 點選Finish
專案新增完成就可以右擊“Tomcat v7.0 Server at localhost”點選Debug 或者Start 來執行專案