Hi,
As per our requirement , we need to set a 30 MB file content as a
String the HTTPResponse, we are doing at present as :
if(bSendContent)
{
response.setContentType("application/pdf");
response.setHeader("Content-Disposition", "inline");
response.setContentLength(byteContent.length);
outStream = response.getOutputStream();
outStream.write(byteContent, 0, byteContent.length);
outStream.flush();
}
its taking aroung 60 Sec.
Can any one help me to reduce this time?
any clue will be great help for me..
Thanks in advance.
Vipin Dwivedi