Hello guys, i am new to java programming and need some help from you all. i created a program to prompt the user for his name and setName() using a Person class. when the program is close, the name i set is gone.Im wondering if i can save the name i set, and heard that i can write it to a text file and then run the command on the Text file using something call the BufferReader (dunno if it is spelled correctly) can anyone show me how can i do it .. Thank you!!
File flDirInput = new File("C:\\GMAC\\JSPs\\ACCOUNTING");
File[] flJspList = null;
if(flDirInput.isDirectory()) { System.out.println(flDirInput+ " is a directory.");
flJspList = flDirInput.listFiles(); } else { System.out.println(flDirInput+ " is a not a directory."); System.exit(1); } System.out.println("\t Starting Test.........." );
int count=0; int intTotFileCount = flJspList.length;
Friend this program gets the latest version of code from vss in a folder and then finds a certain attribute in the body tag .... at the same time it reports the log in a log file