Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

response binary data

Status
Not open for further replies.

Jefhandle

Technical User
Mar 9, 2005
69
DE
I send after submit on the html button a request to a
servlet:
<form method="post" action=" >

the serlcet MyServlet should send back to client an array which has byte type(is a byte array: myArray[2048]).
How should the response be look like to get this binary array
???

Thanks
 
Please post servlet questions in forum695

Tim
 
Look at HttpServletResponse's setContentType() method.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top