tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Drake" <>
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" <>
To: "'Tomcat Users List'" <>
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 -
| --
| To unsubscribe:   <>
| For additional commands: <>
| Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message