Need your help to solve this using JSP.


  • Develop a Web Application which can read all the contents or the lines from a text(.txt) file which will be placed in C:\demo folder
  • Display all the data that gets read from the text file on a jsp/html page in a table format.
  • Each row in the text file will have a delimiter “#” based on which the java program can split this into two columns while displaying the data on the JSP
  • The format of the table should be as in the below Sample Output

Sample Input:

What is my name?#Jim

Which is my country?#Singapore

Sample Output: The JSP page should display the table as below

Column 1

Column 2

What is my name?


Which is my country?