project的目录结构如下:
在jsp文件中插入图片的代码为
<body>
<img src="/EasyExt/img/background.jpg"/>
</body>
Ext.form.Field.prototype.msgTarget="qtip";
var pic = new Ext.Component({
width: 400, //图片宽度
height: 80, //图片高度
autoEl: {
tag: 'img', //指定为img标签
src: 'img/title.jpg' //指定url路径
}});