?
Solved

Java File Download

Posted on 2006-06-03
2
Medium Priority
?
211 Views
Last Modified: 2010-03-31
Hey Experts:

I have a list of about 50 file names which a user can select and download.  These files are stored in the server’s filesystem outside of where the html documents are.  Is there anything in Java that would allow me to upload these files without having to first copy them to a directory where it can be referenced as a URL.  Hope this makes sense.

Thanks,
Kate
0
Comment
Question by:kasiencja
2 Comments
 
LVL 6

Accepted Solution

by:
phuocnh earned 1200 total points
ID: 16825392
You can write a servlet to solve that problem.
You can see here
Upload servlet:
http://www.oop-reserch.com/cross_servlet.html
DOwnload servlet:
http://www.javazoom.net/jzservlets/download4j/download4j.html
Phuoc
0
 

Author Comment

by:kasiencja
ID: 16825999
I ended up creating a servlet and piping the data through.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question