This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Greetings, You would need to explore the following --> java.io.File and the methods such as ++ createNewFile() Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist ++ delete() Deletes the file or directory denoted by this abstract pathname ++ mkdir() Creates the directory named by this abstract pathname ...etc If you need to see how is this being done, book "JavaServer Pages: Your Visual Blueprint to Designing Dynamic Content with JSP" which you can find on amazon.com has exact examples of what are you looking for. m, phx