Avatar

Level 7

I am new to servlet programming.

However, I have managed to create a servlet to handle PDF submissions from an HTML form. The parameters used are

<input type="file" name="datafile" size="40">
<input type="submit" value="Send">

I am using the datafile as the parameter in the servlet for the PDF. I would like to create the same functionality where I can submit the entire PDF form the PDF.

What is the format to submit the file type parameter with datafile as the name ?

Aditya