View Full Version : using servlets to work on data from text files?

03-26-2004, 10:51 AM
i have two text files (abcd.txt and efgh.txt). text file abcd.txt
contains names of districts in a country with their area values whereas the file efgh.txt contains the names of the same districts but with their population values.
now i want to write a servlet that extracts the 'area' values from abcd.txt and 'population' values from efgh.txt and calculates Density ie divides the area values by the population values and obtain the result.
since i am new to Servlets, i am in desperate need of help in
proceeding with the above functionality.
thanks in advance.

03-29-2004, 09:23 AM