I have a jsp with a file chooser. I need to take the 'src' of the image to a servlet.How to do this.
<img id="imgEventImage" src="img/Addmovie/ET000242281bb9.jpg" alt="your image"> <div class="ratingBox"> <div class="Add_TrailerMusic"> <div id="upFileImg" class="upld btn-imageUpload" style="margin-left: 28px;"> <span>Add Poster</span> <input id="selectfileImg" name="posterPath" class="uploadImg" style="color: transparent;"type="file"> </div>