response 对象允许您设置 HTTP 响应头并提供一个写入程序,该程序使用 JSP 代码中的 out 标识。
The response object lets you set HTTP response headers and provides a writer identified with out in the JSP code.
showRecord 会查询一个 Photo,并在将 photoData 直接写入 HTTP 响应之前设置 content-type 头信息。
showRecord looks up a Photo and sets a content-type header before writing the photoData byte array directly to the HTTP response.
使用指定的XML写入器从指定的位置序列化标头。
Serializes the header from the specified location using the specified XML writer.
应用推荐