×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Aug 2010
    Location
    Chennai, India.
    Posts
    176

    [split] J2ME connect with servlet

    Hi all,
    How can I connect to server(at servlet, I want to received some data) or connect to MySQL database for login page in my mobile application(to get username and password) .? I'm asking how to connect j2me to mysql by using servlet?
    I am new to j2me.
    help me,
    Thanks in advance ,
    kumar.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,559

    Re: [split] J2ME connect with servlet

    By sending HTTP post/get requests (examples in, e.g., the wiki), which your servlet will then process, do the required things to your database and return a response (data to a query, or just confirmation depending on the case).

  3. #3
    Regular Contributor
    Join Date
    Aug 2010
    Location
    Chennai, India.
    Posts
    176

    Re: [split] J2ME connect with servlet

    thanks for your reply,

    When i tried http by doPost and doGet method, when i run the program, it doesn't connecting and didn't getting username and password.
    in mobile, showing a html code error report

    please suggest any ideas
    kumar

Similar Threads

  1. J2ME connect Servlet
    By pencilX in forum Mobile Java General
    Replies: 2
    Last Post: 2010-11-28, 17:30
  2. Replies: 2
    Last Post: 2009-01-13, 09:17
  3. Connect to Servlet or Conncet to MySQL
    By sweetsweet24 in forum Symbian
    Replies: 2
    Last Post: 2008-12-11, 03:37
  4. 7210: Problem when midlet connect to servlet
    By wanning in forum Mobile Java General
    Replies: 10
    Last Post: 2008-05-14, 16:44
  5. Nokia Symbian emulators - why i cannot connect to my servlet
    By melas21 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-02-22, 15:33

Posting Permissions

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