获取文件上载对象的输入流
import oracle.jbo.domain.BlobDomain;
import oracle.cabo.ui.data.DataObject;
import java.io.InputStream;
在CO.java中,
DataObject fileUploadData =
(DataObject)pageContext.getNamedDataObject(
String fileName =
(String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
创新互联是一家专注于成都网站建设、网站制作与策划设计,潍坊网站建设哪家好?创新互联做网站,专注于网站建设十余年,网设计领域的专业建站公司;建站业务涵盖:潍坊等地区。潍坊做网站价格咨询:13518219792
//BlobDomain uploadedByteStream =
(BlobDomain)fileUploadData.selectValue(null, fileName);//这句有问题,总是取出空值,改为下面的语句:
BlobDomain uploadedByteStream = (BlobDomain)pageContext.getParameterObject(fileName);
InputStream inputStream = uploadedByteStream.getInputStream();
[@more@]网站题目:获取文件上载对象的输入流
链接地址:http://ybzwz.com/article/gpjigg.html