tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Simple DownloadFile sample
Date Fri, 12 Jun 2009 20:21:37 GMT wrote:
> Hello all,
> Does anyone know a link to a simple sample for downloading files? I found
> some but very confusing.
> The code is welcome too.
I suppose you mean with a Tomcat involved somewhere ?

If yes, here is a simple example, without any code at all :

- find the webapps/ROOT directory of your Tomcat
- put a file there, for example some zip or MSWord file.
Let's say it is called "test.doc"
- In your browser, enter the following URL

If that is not what you mean, can you provide some additional 
explanation about what you are trying to achieve ?

While you are at it, it may be a good idea to add the Tomcat version, on 
which machine, which OS, that kind of thing..

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message