【JSP开源代码栏目提醒】:网学会员为需要JSP开源代码的朋友们搜集整理了shopPicShow.jsp相关资料,希望对各位网友有所帮助!
<%@ page contentType="image/jpg;charset=GB2312" %>
<%@ page import="java.io.OutputStream,javabean.shopOPBean,javabean.shopBean"%>
<%
shopOPBean shopop=new shopOPBean();
shopBean shop=shopop.selectShopById(Integer.parseInt(request.getParameter("shopid")));
OutputStream toClient = response.getOutputStream();
toClient.write(shop.getImageByteArray());
toClient.flush();
toClient.close();
%>