In recent times i was into a matrimonial web-site development where i was asked to store images in to server-folder or directly into database.How to acheive this using jsp and how to retrieve back the files/images to html page.
You FAIL only if you FAIL to TRY!!!
posted 11 years ago
You can handle file uploads on the server using the Jakarta Commons FileUpload library. Once the data is in your web app, you can use the java.io package to store them to the server file system, or JDBC (aka the java.sql package) to store them as BLOBs in the database. I would strongly advise to do this in a servlet, not in a JSP page.