structs2 框架 调出xml的自动提示

1 打开项目中的structs.xml文件,复制其中 http://struts.apache.org/dtds/struts-2.3.dtd部分 .

2解压 structs 文件夹\lib下的struts2-core-2.3.16.jar,在其中可以发现与上步对应的 structs-2.3.dtd文件

3 打开windows-preferences 查找catalog . 在xml窗口中点add . keytype 选择url . key是第一步中的地址. location 是刚才解压出的structs-2.3.dtd

配置完毕,在编辑xml中将出现提示

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念