lucky bhatia

Greenhorn
+ Follow
since Jul 02, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by lucky bhatia

If you are working on java web application the put these jars in
/web-inf/lib folder of your web application. For simple classes which are not communicaing with any web application,put these jars in /lib folder of your javaroot
Thanks William.

I took a note of your reply. As my application is still in design phase I will take care of it.
I have one more query is it possible to know Midp version of mobile connecting to server.
Actually whenever request for a midlet.jar arrives on Web Server, I want to push Midlet.jar(version midp1.0) to mobile supporting Midp1.0 and Midlet.jar(version midp2.0) to mobile supporting Midp2.0. To do this i need to know the midp version on server.
Kindly tell me is it possible ?? if yes kindly provide some details.
20 years ago
I want to send SMS using my j2me application. I have seen WMA APIs and have code with me for this but for MIDP 2.0 only . Just want to know do MIDP1.0 support WMA for sending sms as it is in MIDP2.0. If not then is there any other API with will support MIDP1.0 devices for sending SMS.
20 years ago
hi kindly tell me why I am getting Nullpointer Exception in following code.

(1) Vector vector=(some resultset from DB);
String str = "";
str = vector.elementAt(0).toString();

==========

Following code not giving exception

(2) Vector vector=(some resultset from DB);
String str="";
str = str+vector.elementAt(0).toString();

Although i have done with coding number (2), but i want to know the technical reason for failure of coding number (1).

Thanks & Regards
20 years ago