Eclipse中tomcat的配置及部署

來源:互聯網
上載者:User

標籤:java   server   window   控制台   下一步   

Eclipse中tomcat的配置及部署

1.     建立Dynamic Web Project 工程à下一步à下一步à勾上

650) this.width=650;" width="267" height="23" src="http://s3.51cto.com/wyfs02/M02/58/44/wKioL1StRNzTcBJjAAAdyboBvXg162.jpg" style="border:1px solid rgb(221,221,221);width:267px;height:23px;background:no-repeat 50% 50%;" alt="spacer.gif" border="0" hspace="0" vspace="0" title="1.png" />à完成

2.     windowàpreferenceà650) this.width=650;" width="554" height="507" src="http://s3.51cto.com/wyfs02/M02/58/48/wKiom1StRGXTs7-xAAJZMZsWmbk688.jpg" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" title="2.jpg" />

3.     windowàshow view àservers,在servers控制台右鍵new一個server,雙擊配置

650) this.width=650;" width="553" height="251" src="http://s3.51cto.com/wyfs02/M00/58/44/wKioL1StRTqBmkegAANpiLelkCg618.jpg" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" title="3.png" />

4.     右鍵剛剛new出來那個serveràAdd and Remove.. à把建立的Dynamic Web Project工程Add進來,finish。

5.     編寫工程代碼(放在MyEclipse WebRoot下的檔案在Eclipse中應放在WebContent下,src在Java Resources下)。

6.     工程程式碼完成後右鍵Dynamic Web Project工程àRun AsàRun on Server

7.     右鍵剛剛new出來那個serveràStart

8.     每次修改工程的servlet和.xml後重複6,7



Eclipse中tomcat的配置及部署

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.