[Java][Eclipse] Project facets & HTTP 404

熱門文章 (Popular Post)

Posted by : Duran Hsieh 2012-09-27

從原先的 java project 轉換成為 dynamic web module



step1:Right click project -> propertise.

步驟1:對專案點選右鍵,選擇propertise。











step2:In left side, click project facts and select dynamic web, java ,and javascript in right side ,click ok.

步驟2:左邊欄點選project facts,點選dynamic web, java ,and javascript。


step3.1:Right click project -> propertise again, and then click Deployment Assembly.
step3.2:Add Source and Deploy Path.
step3.3:If you don't do this step, your will get HTTP 404 error possibly after start server.
       
步驟3.1:再一次右鍵點選專案,選取propertise,然後點選Deployment Assembly。
步驟3.2:加入add Source 與 Deploy Path。
步驟3.3:若沒有這個這麼做,再啟動伺服器後,有可能會造成 HTTP 404 錯誤。



Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Duran Hsieh @ Duran 的技術冶煉廠 - Date A Live - Powered by Blogger - Designed by Johanes Djogan -