How to upload a Image file from jsp page to servlet
This is a small example of java web application
Thanking you....
<form action="UserPicsServlet" enctype="multipart/form-data" method="post">
<table>
<tbody>
<tr>
<td><input name="filePath" type="file" /></td>
</tr>
<tr></tr>
<tr>
<td><input name="btnSubmit" type="submit" value="SAVE" /></td>
<td><input name="btnSubmit" type="reset" value="Cancel" /></td>
</tr>
</tbody></table>
</form>
No comments:
Post a Comment
Your feedback may help others !!!