Philip Hong

Greenhorn
+ Follow
since Oct 14, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Philip Hong

I try to add a Record Number field to "db.db" by using following code:
String oldFileName = "db.db";
String newFileName = "fbndb.db";
int recordNumber = 1;
String recordField = "Record Number";

DataInputStream in = new DataInputStream(new
FileInputStream(oldFileName));
DataOutputStream out = new DataOutputStream(new
FileOutputStream(newFileName));

String textLine = "";
textLine = in.readLine();
textLine = recordField + " " + textLine;
//System.out.println(textLine);
out.writeChars(textLine);

textLine = in.readLine();
while(textLine!=null){
textLine = recordNumber + " " + textLine;
//System.out.println(textLine);
out.writeChars(textLine);

recordNumber+= 1;
textLine = in.readLine();
}

The code simply adds Record Number field and RecordNumber to "db.db", but when I type the fbndb.db, the file format has been changed.
Any help really appreciated
I would like to join in your group, my email=javapk@yahoo.com and hope more and more members join in including other places and other groups. Thank you.
Can I join in your project?
My email is javapk@yahoo.com
Thank you
23 years ago
Anyone can tell or email me any websites that use Servlets/JSP with source code that I can downdown? My email:javapk@yahoo.com, thank you very mucn in advance.
23 years ago
Hai Rajpal Kandhari,
I will be very glad if you let me join in your group.
I am SCJP2 and learning Servlet and JSP.
My e-mail is javapk@yahoo.com.
Thank you
23 years ago
I just passed the SCJP2 test and looking for entry/junior level java job in NY area. I have been studying java for two semesters in Brooklyn College, several years working experience with Foxpro/C and also know COBOL/C++/Pascal, etc. I got the MCSE last year and got a job as System/network Admin which is not bad, but I think the web programmer/developer is more valuable than system/network administrator. So anyone can kindly guide me how to find a junior level java job in NY area which I do not care the salary at the beginning.
Thank you very much in ahead.
23 years ago