Jump to content
xisto Community
iGuest

Image Uploading In Jsp

Recommended Posts

Hello,I want to upload & retrieve image in Access database using JSP. Images must be stored in a different folder and its paths should be stored in Access databaseI tried a lot for this but i was jus not able to find any answers.Please provide me guidance on this.Thank You.Ashutosh Jain. :)

Share this post


Link to post
Share on other sites

this means that you have to create a form for that purpose.The form will have an image unique number (for instance last number + 1).The form will have to ask for the image name, which has a default name based on that unique number.Before the upload, the database will store in it's table the image number, it's name, and the complete path, which is the concatenation with the image_number and the image_name, prefixed by /home/users/data/images.A search in the database image names will lead to the image number which will give the path "/home/users/data/images/1250/diving_with_sharks.jpg"

Share this post


Link to post
Share on other sites

this means that you have to create a form for that purpose.

The form will have an image unique number (for instance last number + 1).

The form will have to ask for the image processing name, which has a default name based on that unique number.

Before the upload, the database will store in it's table the image number, it's name, and the complete path, which is the concatenation with the image_number and the image_name, prefixed by /home/users/data/images.

A search in the database image names will lead to the image number which will give the path "/home/users/data/images/1250/diving_with_sharks.jpg"

Thanks for your sharing.Although this post is old.but i find my solutions ,Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.