wilsontang
asked on
Get file name into a directory
hi experts,
How to capture the file name into a specific directory? Do I need to use the package "JNDI"? Please help.
How to capture the file name into a specific directory? Do I need to use the package "JNDI"? Please help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
File f = new File("c:\\dir\\myFile.tmp"
FileOutputStream fis = new FileOutputStream(f);
// write to file....