Results 1 to 2 of 2
  1. #1
    sriram6000 is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Default Upload file - sevlet - Oracle

    i am developing an defect tracking system in which uploading a file to oracle 9i (DB) through servlet is one of the process.
    i want to have some coding on this.
    how do i upload a file(for example .doc file)from the browser to the oracle9i using servlet as controller.
    and also displaying that file from DB.
    can anyone send me the coding for this or any useful links on thios issue.
    thanks

  2. #2
    chaitu is offline Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Default Upload

    Quote Originally Posted by sriram6000 View Post
    i am developing an defect tracking system in which uploading a file to oracle 9i (DB) through servlet is one of the process.
    i want to have some coding on this.
    how do i upload a file(for example .doc file)from the browser to the oracle9i using servlet as controller.
    and also displaying that file from DB.
    can anyone send me the coding for this or any useful links on thios issue.
    thanks

    Hi SriRam,
    Use the StringBuffer to upload the data what u want to upload and use the Post Method.
    At the servlet side write the logic for inserting the data in to database which the data came from the client.

    for .doc and .exe files to upload u require jar file like iText.jar for pdf u require poi.jar

Similar Threads

  1. how to upload a file?
    By tommy in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 06-30-2008, 02:50 PM
  2. file upload
    By sundarjothi in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 06-27-2008, 11:52 AM
  3. Simple way to upload file via FTP?
    By Hiro ZA in forum New To Java
    Replies: 0
    Last Post: 03-27-2008, 01:27 PM
  4. File Upload
    By ShoeNinja in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-09-2007, 10:09 PM
  5. how to upload a file using servlet
    By simon in forum Java Servlet
    Replies: 1
    Last Post: 08-05-2007, 03:50 AM

Posting Permissions

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