Hi there,
   I have a problem with a certain servlet code of mine which takes a lot
of time to execute.The problem is that since it takes a lot of time to
execute,the browser times out the servlet after say 5 minutes.I heard
somewhere that this can be remedied by using out.flush() for the output
stream;that didnt work and i learnt later that the problem is actually
with Apache which buffers output in 8k units.I was wondering whether this
setting could be changed or if there were any other solution to this
problem.I looked at certain threading issues but am generally
uncomfortable using the meta header and refreshing it every 10
seconds,till the thread of the task is completed.
  Also,found out that we can increase the timeout for the apache web
server by changing the httpd.conf file.But is there anyway to reduce the
output buffer size?
Thanks & Regards,
Shravan

Reply via email to