How Save File in Directory and path of the file in database using Struts 2.0 and Ejb 3.0
Deepak Kumar pandey
Joined: Aug 31, 2010
I have save the file in directory. before saving the file i have to also check directory for particular file is exist or no.
if exist save the file in existing directory and if no then create new directory and save the file.
Also i want to know how give file name when saving.