Go4Expert (http://www.go4expert.com/)
-   JSP (http://www.go4expert.com/forums/jsp/)
-   -   Uploading images in access database using jsp (http://www.go4expert.com/forums/uploading-images-access-database-using-t21401/)

silversurface 18Mar2010 08:30

Uploading images in access database using jsp

Hi, am using jsp with access database and want to upload as in a profile picture for any profile on the site[i mean depending on the user's convenience] ..

I just have a code which helps select the image from the client's machine n gets its address..but then how to use it in a form or something so that it can be submitted and inserted in the database?

Any idea? I d prefer not using servelet.. but if it just cannot be done without servelet then ok can suggest with that too.

Here is the code of Browsing to obtain the picture:
PHP Code:

 <form name=uploadForm action="uploadpic.jsp" method=post enctype="multipart/form-data" >
input type="file" >
input type="submit" name="submit"  />

All times are GMT +5.5. The time now is 12:30.