Hi,
i just wanted to know if the following is possible using
Servlets.
i have two text files containing some data about the states in USA
ie say data file1 (area.txt) has data in the format: name of the state
followed by a tab and then the data value ie
New York 12000
New jersey 15000
........
and data file2 (den.txt) has New York 100
New Jersey 200
..............
now i extract the values "12000,15000 etc" from file 1 and
"100,200 etc" from file 2 and do a calculation like dividing "12000" with
"100","15000" by "200" etc. i have finished this part.
now is it possible to use servlet/JSP to map the results into a new
file. the new file should be as follows
ie the name of the state with
the corresponding result value)
New York 120
New jersey 150
.......
ie the results obtained from the above calculations are to be mapped
onto their respective state names?
i need ur guidance in proceeding with the above functionality.
thanks in advance