Hello Everyone, I have set up a Virtual Directory (Directory Listing) in Tomcat. We use this to distribute documents and reports. The way we do is put the documents to be distributed in this directory on the server and all our user go to this virtual directory by accessing a URL and view/get their reports.
I have put a .xls file in there, and when we open it - it opens in the browser itself and what it seems to have is junk data in it. (unreadable). However instead of clicking it to open, if we do "Save the target as.." and save it in the local machine and change the extension from .htm to .xls the report comes to full-life and its all good. We used to have similar virtual directory in Apache before. I remember that if we clicked on the .xls report, instead of opening it in the browser, it would begin downloading it to the local machine as an Excel file, so that was very good. Is there any settings in Tomcat which we can set so that instead of opening files in the browser itself, it would download it to the users' PC with the correct file extensions? Any insight and recommendations in this regard would be greatly appreciated. Thanks in Advance Uddav -- View this message in context: http://www.nabble.com/Excel-file-in-Tomcat-Virtual-Dir-has-junk-data-in-it.-tp21737355p21737355.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org