See the final HTML and see what is the output for

<img src="${pageContext.request.contextPath}/img/myimage.jpg"