---
title: "常用简单1"
author: "mlaaalm"
date: "2010-07-07T15:36:45Z"
tags: []
categories: ["非技术"]
slug: "1"
draft: false
lastmod: "2010-07-07T15:36:45Z"
id: 707507
url: "https://mlaaalm.iteye.com/blog/707507"
---

```
OutputStream out = response.getOutputStream();
InputStream is = new FileInputStream(strPicPath);
byte[] b = new byte[1024];
int len;
while ( ( len=is.read(b)) != -1){
	out.write(b,0,len);
}
out.flush();
out.close();
is.close();


JSPPath:


ServletPath:
```