eclipse中提示xml标签

   在不能上外网的情况下,我们在eclipse中写xml时无法得到标签的提示,因为xml中的dtd获取不到.

 

   看了下外面的资料。说是选择"window"-->"preferences"--->"Myeclipse Enterprise Workbench"-->"Files and Editors"-->"xml"-->"xml category"

 

   在user specified Entries中新增一个. (Location选择dtd文件在本地的路径,keytype选择uri,key选择xml中的dtd文件,比如http://struts.apache.org/dtds/strutss-2.0.dtd)

你可能感兴趣的:(JAVA,xml,eclipse,myeclipse,user)