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.
this is my code, in this i want to establish a connection to the database using jdbc type-1 driver,my code is about giving "ping" to the local host and storing the results in to the file.after storing the results in to the file, i want to read the file and search for the result "Request timed out" , whenever i encounter this then i should establish connection with the database and store the "date and time" of this result in the database.here in this once if you enter the IPAddress then it enters in to the infinite loop and gives ping continously.
can anyone please help me out, iam confused in how to enter the date and time into the database???
please help me