mobile application using J2ME...
mekbibTue Apr 16, 2013 12:58 PM
Hello, I made a program where I enter username and password from midlet and send them to
which checks the username and password in a mysql database. The servlet is to send a response “valid” to the midlet if the username and password exist or “invalid” if they don’t. But when I run the program the response recieved on the midlet side that I get on the emulator is always “valid” even with wrong username and password and displays empty MainMenu. Please help me find out what could be wrong with either my midlet code or servlet code that makes my reponse not be as would be.
here is the midlet for login:
public class LoginScreen implements CommandListener,Runnable,ItemCommandListener
Report | Quote This | Send private message | Reply | Print