• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

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 .
0
tpolnyi
Asked:
tpolnyi
1 Solution
 
Dushan De SilvaCommented:
You should better ask from following topic.
http://www.experts-exchange.com/Web/Web_Languages/JSP/

BR Dushan
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now