1、首先下載eclipse的Tomcat插件,文件名為:tomcatPluginV321.zip
下載:
地址
2、安裝Tomcat插件,即將zip檔解壓,放入eclipse目錄下的 plugins 文件夾中。
3、在項(xiàng)目上點(diǎn)右鍵,設(shè)置properties,在'Tomcat'下面設(shè)置'export to war settings'輸入要導(dǎo)出的war文件路徑和文件名,確定,返回項(xiàng)目。
4、在項(xiàng)目上點(diǎn)右鍵,選擇tomcat project->Export to the war file sets in project properties
5、 進(jìn)入C盤,可以看到csi.war文件正在生成,成功后會(huì)有提示框。這樣就可以通過Tomcat插件導(dǎo)出WAR檔了。
posted on 2008-04-08 13:43
CoderDream 閱讀(3744)
評(píng)論(1) 編輯 收藏 所屬分類:
經(jīng)驗(yàn)點(diǎn)滴