I am building a simple query tool servlet which writes the results set out to a .xls file. How do I launch the .xls file from the servlet (so that the user sees the query results). This is in a Windows environment.
Thanks Venur. The contentType is basically text/html for all the other user interaction. I inserted your line just after the xls file creation - as the last line before exiting the servlet. The excel file did not launch. Did I miss something?
It Works - Thank You. No file creation/output needed. Now, if only I can get the user back into the query tool servlet so they can submit follow-up queries it would be great ;o)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.