tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Elliott" <relli...@ubiquitysoftware.com>
Subject RE: Serve a file instead of a page using Tomcat.
Date Thu, 13 Apr 2006 14:26:09 GMT
Thanks for your response,

I don't see a "web" folder for Tomcat, only under webapps. Will I need
to deploy a WAR file to do this?

Thanks...

-----Original Message-----
From: John Powers [mailto:jpowers@configureone.com] 
Sent: Thursday, April 13, 2006 10:17 AM
To: Tomcat Users List
Subject: RE: Serve a file instead of a page using Tomcat.

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:relliott@ubiquitysoftware.com] 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message