Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

  • #2
    Regular Coder
    Join Date
    Mar 2009
    Location
    Troutdale, OR
    Posts
    145
    Thanks
    12
    Thanked 6 Times in 6 Posts
    Quote Originally Posted by silversurface View Post
    PHP Code:
     <form name=uploadForm action="uploadpic.jsp" method=post enctype="multipart/form-data" >
        <
    input type="file" >
        <
    input type="submit" name="submit"  />
        </
    form
    I always use PHP for web based applications. It's up to you though.
    Good luck.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •