Topic: 怎样从database中取出图片显示到jsp页面上

  Print this page

1.怎样从database中取出图片显示到jsp页面上 Copy to clipboard
Posted by: tokuken
Posted on: 2003-10-29 21:17

只找到用XML的实现方式,请问用数据库存取方式在前端怎么写?

2.Re:怎样从database中取出图片显示到jsp页面上 [Re: tokuken] Copy to clipboard
Posted by: microwin
Posted on: 2003-10-30 09:45

<img src="imgRead?imgid=?????????" />
imgRead为一Serverlet,在imgRead里从DB中用rs.get..Stream(),后直接输出就可以了。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923