• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

how to communicate with the ASP through MIDlet

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
Can anybody please tell me the way connect to the ASP page from the MIdlet.
Please help me
lakshman
 
lowercase baba
Posts: 13091
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
laksh,

Apparently, you missed our Naming Policy on the way in. Basically, it requires a real sounding first AND last name.

We'd appreciate you following this link and correcting your profile.

Thanks!!!
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just like you would to connect to any Web URL location, use the Connection Framework and get an HttpConnection passing in the URL address.

Mark
 
lakshmanraob
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi mark,
Thanks for your help.Please show me the way to proceed in getting the connection between ASP and the MIdlet.
Please help me
thanks in advance
lakshman
 
fred rosenberger
lowercase baba
Posts: 13091
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
laksh,

Once again, I must ask you to change your display name. We take our naming policy pretty seriously around here - it's one of the two rules we have (the other being "Be Nice").

If you don't change your name to a real sounding first AND last name, we will have to take more serious action.

thanks
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And I wouldn't be able to help you more until you change your display name. Please click the My Profile link above to change it. Then I will help you some more.

Mark
 
lakshmanraob
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
Thanks for your advice,as u said i have changed my display name.Please tell me way to have the communication between ASP and the MIDlet.
A good example or a url(to ASP and MIDLET) is more useful for me.
Thanks in advance
laksh
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by lucky:
hi,
Thanks for your advice,as u said i have changed my display name.Please tell me way to have the communication between ASP and the MIDlet.
A good example or a url(to ASP and MIDLET) is more useful for me.
Thanks in advance
laksh



Yes you changed it, but completely ignored the Naming Policy which requires a real first and real last name.

We do suspend accounts that don't meet the JavaRanch naming policy.

Mark
 
lakshmanraob
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
This was my actual name.is it ok na.
lakshman
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by lakshman:
hi,
This was my actual name.is it ok na.
lakshman



I that your actual first or last name. Either way, one is missing. Basically you need both names. Like mine is "Mark Spritzler". Notice the first name is Mark and my last name is Spritzler. That is the form that we are looking for.

Mark
 
lakshmanraob
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi mark,
Thanks for your advice.I am really sorry about that.
lakshman
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


You are so close but not yet there. You need to have a space between your first and your last names.

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
String url = "http://www.yourURL.com/yourASPpage.asp";
HttpConnection c = (HttpConnection)Connector.open(url);
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
String url = "http://www.yourURL.com/yourASPpage.asp";
HttpConnection c = (HttpConnection)Connector.open(url);

Mark
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic