加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

xml文件编辑状态自动提示

发布时间:2020-12-16 05:05:25 所属栏目:百科 来源:网络整理
导读:配置文件中都有类似!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" " http://struts.apache.org/dtds/struts-config_1_2.dtd " 的信息,提示信息是根据http://struts.apache.org/dtds/struts-config_1_2.

配置文件中都有类似<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">

的信息,提示信息是根据http://struts.apache.org/dtds/struts-config_1_2.dtd 格式进行提示,当我们的环境不能访问外网的时候,开发工具myeclipse则不再自动提示,次数我们可以按照本地的*.dtd文件格式进行自动提示,操作:

window>preference>Myeclipse** Edition>Files and Editors > XML > XML Catalog 点击 add 按钮

Location :本地*.dtd文件路径地址

Key Type:URI

Key:填写外网*.dtd地址 如http://struts.apache.org/dtds/struts-config_1_2.dtd

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读