Uploading & Download a PDF from a Web Server using JSP or Servlet


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Uploading & Download a PDF from a Web Server using JSP or Servlet

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    2

    Uploading & Download a PDF from a Web Server using JSP or Servlet

    Hi
    I am looking for varies ways to upload a PDF file to a Linux Web Server using jsp or Servlets and then later download the file from the server.
    My options are:

    1. Upload the file to a Server (to a specific path or folder) and Store a URL to the file in the MySQL database and it can be downloaded easliy.

    Unfortunately this method did not work for me and It failed. I used the method from an API from the site javazoom.net (UploadBean). The problem was that it did not upload the file to the correct PATH I wanted and Loaded to a dir on the Tomcat Server.

    My second option is:
    1. Upload the file to a Database as Binary and Then Download it, The problem is that I dont how to do it and even If I can upload the file in Binary form into the Database I want to download the file Back into its Original PDF Form.

    What I am mostly looking for is Sample Code or link to good Thread from anysite that will solve my problems using the Above options or any other efficient Option.

    Thanks in advance

    mujtaba_ak

  2. #2
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    255
    Try searching for "Jakarta Commons FileUpload".
    Happiness is good health and a bad memory.

  3. #3
    Join Date
    Nov 2005
    Posts
    2
    thanks alot, hopefully this will help solve this problem.

Similar Threads

  1. Why Web Services are Important
    By Constance J. Petersen in forum .NET
    Replies: 13
    Last Post: 08-28-2002, 10:06 PM
  2. Free ASP.NET Web Matrix Design/Editor Tool Released
    By ASPSmith Training in forum dotnet.announcements
    Replies: 0
    Last Post: 06-18-2002, 03:39 AM
  3. Can a Delegate be passed to a Web Service?
    By Steve Hiner in forum .NET
    Replies: 7
    Last Post: 04-22-2002, 09:19 PM
  4. Replies: 1
    Last Post: 11-30-2000, 04:00 PM
  5. uploading db to web server
    By Tom McDonald in forum Database
    Replies: 1
    Last Post: 06-13-2000, 06:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center