Spring mvc 從零搭建

以eclipse 爲例 一: new Dynamic Web Project (如果沒有web.xml,輸入完項目名點下一步,勾選Generate web.xml deployment descriptor) 二: 在WebContent 寫一個靜態頁面 hello.html(試試web工程能否正常運行) 放入 tomcat 運行 http://localhost:1234/spring_mvc/
相關文章
相關標籤/搜索