產生 Web 3.0 專案的 Web 部署描述子

Web 3.0 Web 專案不需要 web.xml 檔,因為部署資訊是由註釋來管理。 如果 Web 3.0 Web 專案需要 Web 部署描述子,您可以使用「產生部署描述子 Stub」來產生此部署描述子。

程序

  1. 用滑鼠右鍵按一下 Web 3.0 Web 專案,然後選取 Java EE 工具 > 產生部署描述子 Stub。將會在專案 WEB-INF 目錄中產生 web.xml 檔。
  2. 按兩下 web.xml,在編輯器中開啟部署描述子。
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: last_date

File name: tcrtweb30wdde.html