怎样把数据库中的 <Binary> 读出来? 我用的是 Tomcat5.0 + SqlServer2000 !知道请告诉一下好吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 read from db:InputStream isPhoto = rs.getBinaryStream("Photo");write into db:byte[] photo;......pstmt.setBinaryStream(1, new ByteArrayInputStream(photo), photo.length); One more question: Is the binary type data's size limited? I only know BLOB! read from db:InputStream isPhoto = rs.getBinaryStream("Photo");我现在应该怎么样对 isPhoto 进行处理,好比把它显示出来?Photo 里装的是上传文件。 Java输入参数问题 关于数据库连接池配置的问题..+tomcat 6.0的server.xml下配置 还是struts的参数问题! 传递文件 html问题——下拉框的readOnly如何控制 两个jsp页面间如何进行拖拽? 老板催得急啊,各位好心人,帮帮忙吧如何在jsp中把word文档上传到oracle数据库 jsp能否与服务器端的其他进程进行交互? jsp中相对路径怎么表示??谢谢 简单问题大送分!!! 大家有没有碰到过这种问题,2000server+resin resin服务器的问题。过年了,高分求救!!!!!!!
InputStream isPhoto = rs.getBinaryStream("Photo");write into db:
byte[] photo;
......
pstmt.setBinaryStream(1, new ByteArrayInputStream(photo), photo.length);
Is the binary type data's size limited?
I only know BLOB!
InputStream isPhoto = rs.getBinaryStream("Photo");我现在应该怎么样对 isPhoto 进行处理,好比把它显示出来?
Photo 里装的是上传文件。