- download plugin from
http://www.eclipsetotale.com/tomcatPlugin.html
(Sysdeo Eclipse Tomcat Launcher plugin)
Notice: version of tomcat and eclipse - 解壓縮,放到eclipse的 \plugins or \dropins 目錄
- 重新啟動eclipse,看到工具列多了三隻小貓的icon,可各別啟動,暫停,重新啟動tomcat
- eclipse-->windows-->preference-->tomcat -->
tomcat version:根據下載使用的版本選擇
tomcat home: 填選tomcat存放目錄
Context declaration mode: Server.xml
- eclipse-->windows-->preference-->tomcat -->Advanced
default setting and values - eclipse-->windows-->preference-->tomcat -->JVM Settings
選擇一JRE - eclipse-->windows-->preference-->tomcat -->Source Path
選擇Automatically compute source path - eclipse-->windows-->preference-->tomcat -->Tomcat Manager App
default setting and values
以後撰寫Java servlet or JSP程式時,只要透過三隻小貓icon啟動tomcat server或 [run] icon啟動tomcat server
參考文獻 Reference:
http://werdna1222coldcodes.blogspot.tw/2012/08/Sysdeo-Eclipse-Tomcat-Launcher-plugin.html