O
O
Oleg Gutsulyak2018-04-21 15:12:35
Java
Oleg Gutsulyak, 2018-04-21 15:12:35

How to display image in jsp file?

I can't display the image on the page. here is what you get
<img src="images/1.jpg" alt="image">
5adb2aaad372a107216904.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Kuzminov, 2018-04-21
@mkuzminov

<img src="${pageContext.request.contextPath}/images/1.jpg"/>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question