Hi,
You can not use request.getParameter() method when you are trying to upload a file, if the form tag has file type input tag then the form's enctype attribute should be set like enctype="multipart/form-data", then only you'll be able to get the file content in servlet.
regards,
Rakesh
|