Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2004
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    using servlets to work on data from text files?

    Hi,
    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.

  • #2


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •