import oracle.jbo.domain.BlobDomain;import oracle.cabo.ui.data.DataObject;import java.io.InputStream;在CO.java中,DataObjec
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");
//BlobDomain uploadedByteStream =
(BlobDomain)fileUploadData.selectValue(null, fileName);//这句有问题,总是取出空值,改为下面的语句:
BlobDomain uploadedByteStream = (BlobDomain)pageContext.getParameterObject(fileName);
InputStream inputStream = uploadedByteStream.getInputStream();
[@more@]--结束END--
本文标题: 获取文件上载对象的输入流
本文链接: https://lsjlt.com/news/233543.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0