在struts 配置文件中加入 <include file="struts-default.xml" /> apache
這個是struts.xml的警告信息.其實這個不用去解決的.你電腦只要聯網.而後你再從新打開你的MyEclipse就OK了.具體的我不是很清楚瞭解.但絕對是MyEclipse要去聯網驗證什麼纔會這樣的!
沒有網線的狀況下.纔會出現這種警告.並且會不斷的在你往下寫的標籤裏出現黃線
我就在MyEclipse8.6以及9.0 M2試過了!windows
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.7//EN"
"http://struts.apache.org/dtds/struts-2.7.dtd">
在myeclipse中->windows->preferences->搜索框輸入xml->XML Catalog
->User Specified Entries裏面本身配置個dtd的本地url校驗,這樣就不用去聯網校驗了~~ app