If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] upload image to mysql database jsp coding

Hello everyone

I am making my collage project in web development so in student database records there will be photo to upload,I want to upload image with data in mysql database and retrieve in another page .please give me javascript code if any.

Well first, using javascript to access a database is similar to giving every stranger in the world the key to your safe with infinite money, and you then will be confused about how everyone stole all that infinite money you had.

Second, you need to learn a server side scripting language like perl or python. These can access a database securley (if done correctly) and save the binary file (image) into the database.

my project is in jsp and I have done all my pages,dfd and er diagram I have submitted.I have no knowledge about perl or python.
So please if you can help me here is my code it saves the images to a given folder but it does not save to database help me waiting for your relpy