Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2010
    Rep Power

    Default Send and receieve ArrayList and String Array from server to client


    As from the title, I have an ArrayList and a String array on a server which I need to send to the client. Firstly I looked at sending the ArrayList complete on the printwritter and had endless problems. I then found an article online where someone had converted the ArrayList to an Object[]. Which is the best way to go about doing this? I have found it very difficult to reconstruct the ArrayList at the client side from the Object[].

    I pretty sure there is a well known solution, i just just cannot figure this out :confused:!

    Thanks for looking

  2. #2
    FON is offline Senior Member
    Join Date
    Dec 2009
    Belgrade, Serbia
    Rep Power

  3. #3
    nigamsir is offline Member
    Join Date
    Mar 2010
    Rep Power


    simple....just typecast the recieved object! pls upload the code

Similar Threads

  1. send file via client - server model
    By spasavvas in forum Networking
    Replies: 15
    Last Post: 08-13-2010, 12:45 PM
  2. how to send mp3 file from server to client
    By Jigga008 in forum Networking
    Replies: 0
    Last Post: 12-01-2009, 01:02 PM
  3. Server socket - send image to client
    By Hinty in forum Networking
    Replies: 2
    Last Post: 03-14-2009, 08:39 AM
  4. send/read int in a client/server app
    By dim_ath in forum New To Java
    Replies: 2
    Last Post: 01-03-2008, 02:03 PM
  5. how to send .jar files client to server
    By gobinathm in forum Networking
    Replies: 1
    Last Post: 12-25-2007, 05:05 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