标题:Javaweb实现点击图片实现跳转 超链接a,通过href写上点击图片后要跳转的路径,img的src写的路径是加载图片的路径 <a href="${pageContext.request.contextPath }/ListImageProductsServlet03?id=${product.id }"> <img src="${product.imgurl }" width="500" height="500"/><span class="abr"></span> </a>