wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Not getting value in midlet from servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Not getting value in midlet from servlet" Watch "Not getting value in midlet from servlet" New topic
Author

Not getting value in midlet from servlet

Kenneth Owino
Greenhorn

Joined: Aug 09, 2010
Posts: 23
Hi friends. I'm trying to send data from a midlet to a servlet and recieve back a response from the servlet but I

don't get any value in response. I've tried to print it on command window and it seems to be null yet I expect only

two values "ok" or "error". Please help me check the code and let me know what I should do to get the response right

on the midlet. My code is below:


Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10426
    
    8

catch(Exception e){

}

If I were you, I would start by changing it to
catch(Exception e){
e.printStackTrace();
}


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Soumya Rout
Ranch Hand

Joined: Aug 06, 2009
Posts: 49

Try this





 
GeeCON Prague 2014
 
subject: Not getting value in midlet from servlet