Image « Parameter « JSP-Servlet Q&A





1. Image parameter in JSP    stackoverflow.com

Hy! My site calling: http://localhost:8080/WebTest/index.jsp?image=1.JPG Code:

<img src=<% request.getParameter("image");%>  alt="1"/>
The problem is that no image is shown. The image is the right parth. This is working:
<img src="1.JPG" width="3872" height="2592" alt="1"/>
Please help