1. 程式人生 > >struts2 標籤自動提示

struts2 標籤自動提示

myeclipse不提示struts2標籤,操作: 

window->preferences->MyEclipse->Files and Editors->XML->XML Catalog 
點開這個XML Catalog選中第一個User Sepecified Entries 點Add按鈕 
彈出一個視窗,在Location裡面新增struts2的DTD檔案目錄, 
key Type選擇URI, 
Key 新增struts2中的DTD的頭資訊中的URL即 
http://struts.apache.org/dtds/struts-2.0.dtd 

這樣就會提示了