How Save File in Directory and path of the file in database using Struts 2.0 and Ejb 3.0
Deepak Kumar pandey
Greenhorn
Joined: Aug 31, 2010
Posts: 11
posted
0
Hi.......
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.
For the rest, I'd ask 2) in the beginning Java forum. For 3) it depends on how you're accessing the database, but either the JDBC forum, the ORM forum, or the Spring forum (or a different one if none of those cover what you're using).