When you show the name on main page, what is the benefit to what I am trying to succeed??
If you have already uploaded the file, why require them to upload it
again by redirecting to the page asking for the file name? Since you
already have the file name and file on the server, place it in some
temporary directory/folder, then ask the user the 'append the data to
the existing db or create a new one'. Based on their response take
the appropriate action on the file you have already uploaded and have
sitting in a temporary location. This way you are uploading the file
only once, and you get around the fact that you can't place a value in
the input file type.
> ..when I submitted to the action page it
> uploads a file to server then read the excel file then check the db if column
> data already exists in db it display a msg so when one clicks "append the
> data to the exsting db", I forward the users to the same action page t