struts.xml中自动提示

对struts.xml中不能自动提示的总结:

1. 配置"http://struts.apache.org/dtds/struts-2.0.dtd",在没有网络的情况下,找不到该文件,需要自己配置,配置步骤如下

window - preferences - myeclipse  - file and editors - xml - xmlcatalog

选中user specified Entries   点add添加,location:选择struts-2.0.dtd的路径  key type:选择uri  key:http://struts.apache.org/dtds/struts-2.0.dtd

保存;

2.此时,打出< 点alt+/就可以自动提示了,如果想不用快捷键就能提示,需要如下配置:

window - preferences - myeclipse  - file and editors - xml - xml source

选中automatically make suggestion ,并在下面的prompt.........insert中输入<,

如下图:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值