Hi Iam not able to display the image in UI .In controller iam gettign the image as byte[] which is stored as BLOB in my MySQL Table. but in jsp iam not able to display the same.
My Code looks like Model Object :
class Movie { private byte[] newMovieImage; ...... }
In my controller iam getting the image as byte[] in DAO as movie Object
Movie movieInformation = movieService.getMovieInformationForUserSelection(selectedMovie,locationName);
movieForm.setMovie(movieInformation);
In movieInformation object i have all details relating to Movie(including Image)
In Jsp :
<form:form modelAttribute="movieForm" id="movieForm" name="movieForm">
<div class="ticket_mov_review_rev">
<a href="booking.html"> <img src="<c:url value="${movieForm.newImage}"></c:url>" /></a>
<div class="ticket_mov_review_rev_one">
<br /><br />
<p><b>Censor certificate </b>
</p>
<p><b>Movie Name</b><span style="color:#00F;">
<c:out value="${movieForm.movie.movieName}"></c:out>
<p><b>Casting</b>
<c:out value="${movieForm.movie.casting}"></c:out>
<p><b>Direction</b>