Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: J2ME + Nokia S40 + HTTP Multiform POST to PHP website = 403 Forbidden

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default J2ME + Nokia S40 + HTTP Multiform POST to PHP website = 403 Forbidden

    Hi all,

    Thank you for looking here...

    I have a problem:
    - I get 403 Forbidden error while j2me midlet makes Http POST request to a PHP server (from Nokia S40)
    however, from other mobile phones (even from other Nokia phone models) and emulators it works well and makes posts very well without any restrictions.

    Thank you.


  2. #2
    Junior Member
    Join Date
    Dec 2011
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: J2ME + Nokia S40 + HTTP Multiform POST to PHP website = 403 Forbidden

    Also, we have got an answer from our ISP technical support:

    "Thank you for contacting us.
    It seems that the Mobile device browser is unable to process the long link below. If the link is incomplete, it returns various error message. Browser returns error 550 while mobile devices returns error 403.

    http:///manaud.co.uk/tinc?key=76p5a4...t&session_mode =guest&formname=mycrm_feeback&showentries=true&sor tby=field_6&session_sortby=fiel d_6&userid=1324558343;819732;244&offset=20&session _offset=20&start=1&session_star t=1&session_dbkey=1324558337;434554;243_mycrm_feeb ack

    Does this make any sense to you?"

    Not sure what we can do with that?
    Any suggestion, please.

    Thank you.

  3. #3
    Junior Member
    Join Date
    Dec 2011
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: J2ME + Nokia S40 + HTTP Multiform POST to PHP website = 403 Forbidden

    Actually, I do HTTP POST (multi-form) via Connector.Open to the "http://manaud.co.uk/tinc" and conn.setRequestProperty("Referer", "http://manaud.co.uk/tinc?key=7N7cbi5u&formname=mycrm_feeback");

    so I'm not sure what did the ISP mean, and I'm pretty sure the the url is not too long for mobile device.

    Any suggestion, please.

    Thank you.

Similar Threads

  1. My First Post
    By Student X in forum Member Introductions
    Replies: 1
    Last Post: July 26th, 2011, 03:14 AM
  2. Can't form a simple POST or GET http request. No data returns.
    By goodguy in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 29th, 2011, 05:04 AM
  3. Java on nokia 5800
    By lucky7boy in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: January 27th, 2011, 09:01 AM
  4. Http post to login to forum
    By durenir in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 14th, 2010, 11:03 AM
  5. cant get rid of http connection
    By kartik in forum Java Networking
    Replies: 1
    Last Post: July 21st, 2009, 03:09 AM

Tags for this Thread