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"  />