Jump to content


How to Upload Image in Spring MVC

  • Please log in to reply
2 replies to this topic

#1 thallamapuram rajesh

Posted 09 February 2012 - 06:16 PM


Hi i'm Rajesh i am new to the springs i know core spring concepts and mvc. can any one tell me how can i upload file or image into a database through the browser...

#2 sean lopez

sean lopez

    Advanced Member

  • Members
  • PipPipPip
  • 241 posts

Posted 29 February 2012 - 09:32 AM


#3 Mr. Sumit kumar

Mr. Sumit kumar


  • Members
  • PipPip
  • 11 posts

Posted 26 March 2012 - 01:14 PM

Firstly create a dynamic web project "spring_fileupload".now create index.jsp file under WebContent folder.Now create "FileUpload.java" class under src folder.Now create validators class "FileUploadValidator.java" in src folder. Now Create "jsp" folder under "WebContent/WEB-INF". Than run the application.