Hello people, I want to find exactly how I would upload an image to a database from a JSP web form.The form would have to support other formats as well such as text and should cater for the image upload as well.

You need to use the Commons FileUpload package to upload document from user to server. Then in your DB have table that is able to store BLOB data type. On reverse side DB image to JSP try to deploy this example. Also you can google more resources for both process very easily

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.