There is some text file with .txt extension with some information like key - value pairs.
sno value
1 apple
2 bat
3 cat
now I will create a jsp page and i will ask user to enter sno .
if anybody enters 1 it has to display apple
if anybody enters 2 it has to display bat and so on.
Can anybody suggest some ways to solve this? thanks in advance