Results 1 to 2 of 2
  1. #1
    javaism is offline Member
    Join Date
    Sep 2008
    Rep Power

    Smile Download from other server

    Dear all members,
    This is my first post to forum.
    I am using 2 sever in my aplication.
    Server A, Server B.
    user is uploading some file to Server A o the basis of projectId and File Id.
    My problem:I want to Download that file from Server B Depending on projectId and FileId.
    Both servers are having same database access.

    Technology used: Struts,Jboss Oracle10g XE

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Rep Power


    It depends,
    i would suggest is make a small servlet that takes two parameters project id and the file id, and serves the file content.

    The server that wants to download will call simple GET request to another server and downloads the contents.

    Classes and technologies, Servlet serving non html content and URL + URL Connection
    dont worry newbie, we got you covered.

Similar Threads

  1. Download JDK 1.5
    By Nick15 in forum New To Java
    Replies: 4
    Last Post: 01-01-2009, 04:10 AM
  2. image download from server
    By willemjav in forum Java Applets
    Replies: 2
    Last Post: 04-03-2008, 10:13 PM
  3. What jdk do I download?
    By padutch2 in forum New To Java
    Replies: 3
    Last Post: 11-29-2007, 05:28 AM
  4. how to download using java
    By leonard in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 05:36 PM
  5. I could download JDK 1.5
    By Albert in forum New To Java
    Replies: 2
    Last Post: 07-13-2007, 03:36 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