Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to download a text file from server to client?

Reply
Thread Tools

How to download a text file from server to client?

 
 
vaisakh.ak@gmail.com
Guest
Posts: n/a
 
      05-07-2007
hi,
I am devoloping a web application using JSP and Servlets.
The first thing I need to know is how to create a text file in the
sever.
Once the text file is created there should be an option for
downloading it to the client.It could a link.On click of that link the
user should be able to save it to the client.

any help will be great!
thanks in advance.
---------------------------chik

 
Reply With Quote
 
 
 
 
christopher@dailycrossword.com
Guest
Posts: n/a
 
      05-07-2007
if it sounds like homework, it probably is homework.
This is basic browser stuff -- how does a browser receive a file and
how does the browser know what to do with the file? try doing the
assignment or *browsing* the web looking for java servlet tutorials

On May 7, 12:39 am, vaisakh...@gmail.com wrote:
> hi,
> I am devoloping a web application using JSP and Servlets.
> The first thing I need to know is how to create a text file in the
> sever.
> Once the text file is created there should be an option for
> downloading it to the client.It could a link.On click of that link the
> user should be able to save it to the client.
>
> any help will be great!
> thanks in advance.
> ---------------------------chik



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Direct Download Movies - No Download Limits - Download DivX DVDMovies hussain dandan Python 0 12-06-2009 04:52 AM
Forcing Download of File Appends HTML from Download Page to Downloaded File? Brett Kelly ASP .Net 1 06-16-2006 04:05 AM
problem with code download file - two window file download Sam -- ASP .Net 2 03-17-2005 04:20 PM
File upload/download from database. Download appends aspx page to end of file Ryan Taylor ASP .Net 2 11-10-2004 08:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57