eclipse中創建的web項目後,怎麼手動添加web.xml

在創建了java web項目後,需要手動配置web.xml時,才發現項目中沒有web.xml,經百度找到解決辦法:       項目名-->右鍵找到Java EE Tools-->Generate Deployment Descriptor Stup選中後,項目名下即出現web.xml.(選中           後,Generate Deployment Descriptor Stup變爲灰色)
相關文章
相關標籤/搜索