If the file is in the web folder then you can just path to it http://localhost:8080/somedir/somefile.ext
But if it isn't, then a servlet can read in from a file stream and read out to the servlet's out stream... -----Original Message----- From: Rob Elliott [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 8:35 AM To: users@tomcat.apache.org Subject: Serve a file instead of a page using Tomcat. Hello, Users will be entering a file URL with file extension into browser. How must you configure Tomcat to serve up a file for browser download rather than a web page? Thanks in advance, Information contained in this e-mail and any attachments are intended for the use of the addressee only, and may contain confidential information of Ubiquity Software Corporation. All unauthorized use, disclosure or distribution is strictly prohibited. If you are not the addressee, please notify the sender immediately and destroy all copies of this email. Unless otherwise expressly agreed in writing signed by an officer of Ubiquity Software Corporation, nothing in this communication shall be deemed to be legally binding. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]