i have written a program that is dispalying to the user to type the name of the file in web pages once the users press submit query the browser send a request to the servlet and the servlet search for this file in the network using socket and it is working fine for the first time
but the problem that when the client request a nother file it show me error the stream is close
by the way i have closed the stream and socket in the finally block
and the attached file if demonstrating what i have done
please help me