Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets problem

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I download a file using Servlet or JSP
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Ranch has a naming policy, described here and "nyatish" is not a valid name. Please choose one which meets the requirements.
Thanks.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a little unclear about what you are asking. Do you mean download a file from another site to the machine your servlet is running on, or do you mean download a file to a client browser from the machine the servlet is running on?
 
Prasad Charasala
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frank,
His meaning may be file upload from client machine to server machine. This is well described in Java Servlet Programming by Jason Hunter. I think this topic is covered somewhere in this forum.

------------------
Prasad
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is uploading a file to the server, it's discussed Here.
If it is downloading a file from the server here is one example:

Hope this helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic