In our project we are uploading images using the Apache's commons-fileupload library. Now what the problem we are facing is the image file is getting uploaded successfully but when I click on the button to upload and click on other tabs it is showing the same image i.e. the message logo uploaded successfully. we used multipart/form-data in html form.
I has gone through the tomcat api. It is given that the parseRequest method accepts only HttpServletRequest.
are there any other ways to upload an image without using commons-fileupload.
Any Help is welcome & appreciated.