ext的上传和下载.docxVIP

  • 4
  • 0
  • 约4.37千字
  • 约 5页
  • 2021-12-03 发布于四川
  • 举报
一个简单的图片上传和现实在页面上的Demo,前台用的是cxtjs2.2,后台用的 是JDBC+servlet,数据库用的是Oracle,放图片的字段类型是BLOB,存入到数 据库中的是以二进制的形式存在。 工传 J [ 关闭 这是上传的界面效果,我是通过点击页面上面的一个Button来弹出这个上传的 windows updatefile = function()( var form = new Ext. form. FormPanel({ baseCis : * x-plain*, labelWidth : 70, fi leUpload : true, defaultType : *lextfield,, items : [{ xtype : textfield, fieldLabel :上传文件名 name : userfile, id : userfile, inputTypc : file, blankText : * File canV t not empty.11 anchor : 100$ // anchor width by percentage }] }): var win = new Ext, Window title :照片上传, width : 400, height : 100, minWidth : 300, minHeight : 100, layou

文档评论(0)

1亿VIP精品文档

相关文档