Can anybody tell me how to upload a file using jsp.I m trying to upload one image file using <input type="file" name="file" id="button6" value="Browse" />
and submitting the form to upload page.jsp where i m retriving the submitted path value using request.getParameter("file") and then storing it onto database.but when I upload using <file> tag, it's does not upload file from client machine but only from server machine ... So I just only got no file found error(IOexception file not found). ... How should I do?
The code for uploadpage.jsp is as follows:
Could anyone help me out how to resolve this issue.