What are your requirements? You just want them to make a request to a servlet and the servlet sends them the file?
There was a similar discussion
here, but the solution I quite liked was to use the RequestDiospatcher. You may need to set the filename and content type first.
Otherwise you can read from a FileInputStream and write to the OutputStream, but you would still need the filename and content type to be set.