您的位置:首页 > 编程语言 > Java开发

MyEclipse中配置struts.xml自动提示

2014-09-08 14:42 309 查看
MyEclipse中配置struts.xml自动提示

一。图文并茂的教程
http://www.360doc.com/content/13/0312/01/11719795_270918934.shtml
二。文字说明

打开window-preferences-myeclipse enterprise workbench-files and editors-xml-xml catalog,

点 add..,出现一对话框,location栏选file system,找到struts-2.0.14-all\struts-2.0.14\src\core\src\main\resources目录下的 struts-2.0.dtd文件,打开,然后key type 选择uri,下面key值填 http://struts.apache.org/dtds/struts-2.0.dtd,点击OK,这样再次打开struts.xml时应该就有提示了。
将打开的struts.xml标签关闭,重新双击打开再进行查看
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: