如何让eclipse辅助提示struts.xml文件的编写
来源:互联网 发布:电路模拟软件中文版 编辑:程序博客网 时间:2024/06/10 09:17
myeclipse:windwos->preferences->myeclipse->files and editors->xml->xmlcatalog->点“add”,在出现的窗口中的location中选“File system”,然后在struts-2.5解压目录的src/core/src/main/resources目录中选择struts-2.5.dtd,例如D:/java/struts-2.1.8.1/src/core/src/main/resources/struts-2.5.dtd,回到设置窗口的时候不要急着关闭窗口,应把窗口中的Key Type改为URI,Key改为http://struts.apache.org/dtds/struts-2.5.dtd--就是struts.xml文件里开头部分声明的那个地址。
eclipse:windwos->preferences->xml->xmlcatalog。
配置完成后,记得refresh一下,然后就有提示功能了
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/fjf133/archive/2010/02/01/5278572.aspx
阅读全文
0 0
- 如何让eclipse辅助提示struts.xml文件的编写
- 如何让eclipse辅助提示struts.xml文件的编写
- 如何让eclipse辅助提示struts和hibernate的xml文件
- 如何让eclipse的xml进行提示
- 总结:eclipse编写struts.xml没有提示的问题
- 编写xml文件时如何让myeclipse给出提示
- 如何让eclipse自动提示xml文本的插件:alt+/
- 编写struts.xml时的提示问题
- 编写struts.xml文件时提示帮助信息
- 让struts.xml自动提示
- 怎样设置才能在MyEclipse中让struts.xml文件出现自动提示的功能
- struts.xml文件提示功能的实现
- 关于eclipse中编辑struts.xml文件没有提示
- struts.xml中编写无提示的解决
- eclipse和myclipse编写xml文件,java自动提示功能
- struts.xml文件中如何出现自动提示标签
- Myeclipse中编写struts.xml文件没有代码提示功能及加了DTD约束后依然无效的解决
- Myeclipse中编写struts.xml文件没有代码提示功能及加了DTD约束后依然无效的解决
- MyEclipse Eclipse配置快速打开代码所在目录
- 代码中设置视图宽高
- sparkCore wordCount小应用
- 从本地传入数据到MySQL数据库
- git 工具篇
- 如何让eclipse辅助提示struts.xml文件的编写
- 神经元
- 前端遇坑记录(一)
- 【mysql】数据库导出和导入
- TOMCAT为多个web应用启动多个端口
- 用setTimeout()方法来模拟setInterval()与setInterval()之间的什么区别?
- 反转链表
- Hibernate基础
- 使用python程序从youtube批量下载视频