11:54 AM
To: tomcat-user
Subject: RE: file download servlet
Hi,
have you tried with different browsers? I remember vaguely that
this kind of stuff can also be working in one browser and
not work in another one...
regards
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
But how exactly does web server instruct web browser
to save the stream of bytes into a filename as
filename on server?
Does web server send any HTTP header like
Content-Disposition to specify the file name to save?
Since If i dont' set any HTTP headers in my servlet
but just send the
The server sends a header that describes the file type.
See mime types.
At 10:45 AM 9/12/2001, you wrote:
But how exactly does web server instruct web browser
to save the stream of bytes into a filename as
filename on server?
Does web server send any HTTP header like
Content-Disposition to
]]
Sent: Wednesday, September 12, 2001 2:04 PM
To: [EMAIL PROTECTED]
Subject: RE: file download servlet
The server sends a header that describes the file type.
See mime types.
At 10:45 AM 9/12/2001, you wrote:
But how exactly does web server instruct web browser
to save the stream of bytes
Hi,
To download file with the specific file name like song.mp3 as your
following url
http://192.168.1.105/download/servlet/download?filename=song.mp3
changed it with following url-
http://192.168.1.105/download/servlet/download/song.mp3?filename=song.mp3
.
So while downloading the extrapath
you could go a step further than that, and remove the query string
altogether, extracting it from the request url. That way the end user
wouldn't even know it was being served by a servlet (well, the /servlet
might give it away, but you could change that if it mattered)...
cheers
dim
On Thu,
of interest, is the above URL really considered illegal or a security
threat?
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 1:48 PM
Subject: Re: file download servlet
you could go a step further than
Hi,
have you tried with different browsers? I remember vaguely that
this kind of stuff can also be working in one browser and
not work in another one...
regards
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 11:53 PM