×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    20

    Not able to retrieve image while posting data on server

    Hi all,

    I hv developed a midlet which is storing some string data and image in database on server.
    Currently i am using two separate httpconnections to accomplish this .

    Is their any way by which i can do it in one connection only ?

    I hv tried like :
    String msgbfr= "User=" + user + "&" + "Event=" + event + "Image="+ stringImage; //where stringImage is image in base64 string format
    oStrm.write(msgbfr.getBytes());

    I am not able to retrieve the image properly .

    Thanks,
    Manmeet

  2. #2
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: Not able to retrieve image while posting data on server

    Hi Manmeet,

    As already grahamhughes said in the below post you have missed the & after the event.

    http://discussion.forum.nokia.com/fo...d.php?t=189871

Similar Threads

  1. Replies: 0
    Last Post: 2009-11-13, 11:15
  2. Truncated characters when POST'ing 12KB data from 2730c
    By owensul in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-11-10, 16:24
  3. reading image file from server ??
    By nitrajpal in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-01-30, 07:50
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31
  5. Loading Image data from 'raw' bytes
    By LongSteve in forum Mobile Java General
    Replies: 2
    Last Post: 2002-11-20, 17:38

Posting Permissions

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