将Word文件放到字节数组中
例子是将上传来的流放到Session中了.
byte[] OLEFile=(byte[])session.getValue("OLEFile");
odbcRs.updateBinaryStream("OLEFile",new ByteArrayInputStream(OLEFile),OLEFile.length);
odbcRs.updateRow();
例子是将上传来的流放到Session中了.
byte[] OLEFile=(byte[])session.getValue("OLEFile");
odbcRs.updateBinaryStream("OLEFile",new ByteArrayInputStream(OLEFile),OLEFile.length);
odbcRs.updateRow();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货