How to read HTML file and display it for user’s confirmation?

How to read HTML file and display it for user’s confirmation?
This is part of the file upload process using Struts.
.

1.      I developed the upload file page, where I can choose HTML file.
2.      In Action class I need to read that file and display it to the user for confirmation.
3.      After “confirm” save it  to the DB2 table
4.      Display that HTML file, as part of the  “Welcome page”.
The Welcome page should get the last row from the DB2 table and display it.

I am new in Web development trying to switch from  the mainframe.
Really need your help.
I am using Struts, JSP and Java.
I received file in the Servlets Action class , I don’t know how to read it and display it for confirmation .
tpolnyiAsked:
Who is Participating?
 
Dushan De SilvaConnect With a Mentor Technology ArchitectCommented:
You should better ask from following topic.
http://www.experts-exchange.com/Web/Web_Languages/JSP/

BR Dushan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.