I have to send the image statically as an input from HTML page to servlet and get that image at the servlet. I have written the code as
<form action="servlet" method="get">
<input type="image" name="somename" src="img/xyz.jpg"> //passed image as a input
<input type="submit" value="submit">
</form>
How can I get image into the servlet?