Struts配置文件xml提示符设置

来源:互联网 发布:保险单制作软件 编辑:程序博客网 时间:2024/06/06 03:11

问题1:Struts.xml配置文件没有提示

解决a:

         找到struts-2.0.dtd文件,  拷贝到某个目录:d:/dtd /..  (不要用中文目录)

         让MyEclipse关联到上面dtd文件,

                   à windows àpreferences -à 搜索xml catalog

                   配置:

                            Location:    上面配置的dtd目录

                            Key:     -//Apache Software Foundation//DTD StrutsConfiguration 2.0//EN

解决b:

         或者,

                   让机器连接互联网,工具会自动下载dtd文件,缓存到MyEclipse中!

0 0
原创粉丝点击