This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, could you please clarify your question. In my thinking, it is not a problem to create a File object with a field value as long as you can get it as String. regards
Joined: May 09, 2003
what i am trying to do is that i have created a table which automaticaly generates serial no. when user enters data through front-end i want his data to be store in file format on the name of the serial no which he is entering the data. eg:= when he executes the applet and enters the value, at that time if the serial no is 2 then what he has entered should be stored in a file names 2.
Joined: Mar 31, 2003
You can create a new FileOutputStream() with a new File() object as parameter. The File() object takes the file path as argument where you can give your newly created serial number. The entered details can be writen in the fileinputstream. As:
Hope this helps you Regards [ May 13, 2003: Message edited by: Abhilash Vasudevan ]