Results 1 to 4 of 4
  1. #1
    raywai is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default about client to server problem

    I got trouble! I need to write a client to server program.
    I need to write a program that the client can send some text or images to the server.

    In the server side, i got trouble.
    I really don't know how to write the program that server can show text or image!
    Can anybody give me idea?
    Thank you!

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    Quote Originally Posted by raywai View Post
    I got trouble! I need to write a client to server program.
    I need to write a program that the client can send some text or images to the server.

    In the server side, i got trouble.
    I really don't know how to write the program that server can show text or image!
    Can anybody give me idea?
    Thank you!

    look for example here and you will find some examples and ideas.

  3. #3
    raywai is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default

    thanks for your idea.
    but, i think it is not useful for me.
    because those examples do not have the example show me how to receive the image on the server.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,874
    Rep Power
    25

    Default

    The image file is a binary file that the server can read and save like any other file.

    What do you want the server to do with the image file after the sever receives it?

Similar Threads

  1. client server problem
    By kievari in forum Advanced Java
    Replies: 4
    Last Post: 02-12-2010, 09:06 AM
  2. Client to Server, ClassNotFound Package Problem
    By pwnzer in forum New To Java
    Replies: 3
    Last Post: 11-07-2009, 10:17 PM
  3. Simple server/client text problem
    By Singing Boyo in forum New To Java
    Replies: 5
    Last Post: 06-02-2009, 11:33 AM
  4. Client Server socket problem - help needed
    By kellaw in forum Threads and Synchronization
    Replies: 6
    Last Post: 10-03-2008, 07:49 PM
  5. client-server communication problem
    By revathi17 in forum New To Java
    Replies: 1
    Last Post: 08-09-2007, 03:21 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
  •