I want to display an image file from the data I passed from Controller to JSP.
For example, when you send the following value from JSP,
{selectDoctor=[{d_name=MyName, d_imageServerPath=/boardFile/014e40e0ea.PNG, d_imagePath=C:/rachel/014e40e0ea.PNG, di_idx=2, d_imageOriginalName=testImage.PNG, d_idx=2, d_medicalInformation=valuevalue}]}
I have been able to display the value outside the tag through the statement.
<c:forEach items="${selectDoctor}" var="sD">
<select>
<option value="">Choice Doctor</option>
<option value="${sD.d_idx}"><img src="${sD.di_imageServerPath}></img>${sD.d_name}</option>
</select>
</c:forEach>
But unlike my expectations, the img tag does not work.
How do I insert the tag inside the tag?