tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Drake" <...@pobox.com>
Subject Re: Problem with file URL
Date Mon, 07 Jan 2002 19:12:07 GMT
There appears to be confusion about the 'file://' protocol.

The "file://" protocol is really not a protocol at all, since there 
are no client-server communications involved. 
This 'false' protocol identifier is simply a 'nice' little feature
that web-browsers implement (URL/URLConnection also
implements this), that provides the means of displaying a
file stored on the client system (or on a drive that is
mounted on the client system).

The key here is 'client-system'. When you type a "file://"
URL into your browser, your browser goes straight to
your filesystem to get the file. It does not contact a web-server
for this. 

If you want to retrieve a 'file' from a web server, you must 
provide a URL that starts with 'http://' (or https://).

Hope this is helpful.

Tom Drake.

----- Original Message ----- 
From: "Michael Wentzel" <wentzel@aswethink.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Monday, January 07, 2002 9:44 AM
Subject: RE: Problem with file URL


| BTW, is there a reason this is that important to you?  How many users 
| try to access a url using the file protocol instead of http?
| 
| ---
| Michael Wentzel
| Software Developer
| Software As We Think - http://www.aswethink.com
| 
| --
| To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
| 
| 
| 


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message