Sevlets « Excel File « Java I/O Q&A

1. Working with dynamic excel files

2. Redirecting to a generated excel file

If you really need to have the file, you could include a link to it in the HTML page you send as a response to the user's input, of course the file would have to be placed where it could "legally" be served like any other file with a link. Alternately you could use a link that pointed to your servlet ...