I have a servlet serves files for web browser.

How can Servket knows if the HTTP web browser had:
1) finished download 100% of the file, or;
2) only downloaded 50% of the file then click cancel,
or;
3) only downloaded 70% then reboot the machine

-- If user had downloaded the whole file. user cannot
re-download the file again.  
-- If user click cancel in the middle or didn't
download 100% of a file --> server will know this and
user can download it again. 

i think the TCP/IP layer (socket) will keep track of
acknowledgment send back from client. but how do i
implement this in my servlet? 

i also heard there is a bug in tomcat prevent from
counting # bytes client receive if use with apache web
server. since acknowledgment is send back to apache
server but not tomcat.

thanks.


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to