Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User alesud76's Avatar
    Join Date
    Jun 2003
    Posts
    9
    Hi all,
    My midlet connect correctly to servlet on POST the first time but the 2th i have the problem

    the step are this
    1) connect
    2) openoutput send and servlet recive correctly
    3)openinput and the midlet recive correctly the sessionid
    The print of conn.getType() are correct text/plain


    The secon time
    1) connect with ;jsessionid=..... and the servlet recognized the client
    2) openoutput send and the servlet don't recive my message but recive "http/1.1\n"
    3)open input and the midlet recive IOException malformed response message
    The print of conn.getType() are null

    I usa a separate thread for connection

    Ask anyone have an idea for solving this problem??

    Ciao Alessio.

  2. #2
    Regular Contributor nmittal's Avatar
    Join Date
    Mar 2003
    Posts
    393
    What phone model and software version are you facing the problem on. Please also post your code for further investigation.

    [N]/Forum Nokia

  3. #3
    Registered User alesud76's Avatar
    Join Date
    Jun 2003
    Posts
    9
    nmittal,

    Tank's for your attention but I have just solved.

    I don't know why, but in the post method i must set the content length only if use a session.

    ciao Alessio.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved