Suppose i have a form in which there is a button "Save" and has two text fields "name" and "message".
when i click on the save button, it creates a new folder with name as the value entered in name textfield and inside it a text file contaning body as the value entered in message textfield.
With what? You have posted this in the JDBC forum but I see nothing to do with databases. You have given an outline of a system but don't say what you are having trouble with. It seems to me you would benefit from going through the Java tutorial - http://download.oracle.com/javase/tutorial/ . Start at the "Getting Started" section and progress from there.
Retired horse trader.
Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
i want the code for both doing functions one by one means first the folder is created and then a text file is saved in that.
i know how to create a text file but i dont know for making a folder and then saving the text file in that folder.
it has nothing to relate with database, just a I/O Stream query.!!