I want to display an image in a particular in a jsp page and I am calling servlet from the tag but the control is never reaching the servlet. Can someone help me find the error in the logic or some syntax issue if any..?? This is the img tag of the jsp page:
<img src="/controller/ImageServlet" alt="My image" height="200px" width="200px">
Is this the correct way to transfer the control to the servlet through img tag? Here "controller" is a package under which I have defined "ImageServlet" servlet.