File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp" Watch "jsp" New topic


James Bond

Joined: Dec 19, 2000
Posts: 2
How to give the download facility from th code?If anyone have the code of downloading something when clicking on the link?
Matt Midcap

Joined: Jan 07, 1999
Posts: 440
Hello Mr. Bond, James Bond... Or should I call you... Nitin?
Anyway, I don't have the answer to your question but I need you to take a look at our naming policy ( ) and re-register with a (not so fake) name.
I'm also moving this to the "Servlet/JSP" forum.
Matt Midcap
[This message has been edited by Matt Midcap (edited December 20, 2000).]

Best Regards,<br />Matt Midcap
Michael Lohnes

Joined: Dec 20, 2000
Posts: 2
You are trying to set up a link that when selected will download a file? If so put the file in your docRoot and then set the link to the file.
Rajesh Hegde
Ranch Hand

Joined: Sep 15, 2000
Posts: 112
Hello Michael,
If you do not mind can u elobarte on docRoot? I am sort of new to all this .
I agree. Here's the link:
subject: jsp
It's not a secret anymore!