How can I get the local files?

hi, in my project, I have store the files in local disk, and store file name in Database. How can I get the file according to the file name in database? which means the file names in database are mapped to the file in local disk. How Can my application get the file according to the file name in DB?

[306 byte] By [Mellona] at [2007-11-27 7:06:06]
# 1
http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html http://java.sun.com/docs/books/tutorial/essential/io/index.html
jverda at 2007-7-12 18:57:22 > top of Java-index,Java Essentials,Java Programming...
# 2

> hi, in my project, I have store the files in local

> disk, and store file name in Database. How can I get

> the file according to the file name in database?

> which means the file names in database are mapped to

> the file in local disk. How Can my application get

> the file according to the file name in DB?

In addition to reading the links posted by jverd, keep in mind that opening a file, regardless of where the filename comes from - is exactly the same, 100% of the time. Doesn't matter where the filename comes from; it's a String.

Navy_Codera at 2007-7-12 18:57:22 > top of Java-index,Java Essentials,Java Programming...