R Sugan

Ranch Hand
+ Follow
since Mar 13, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by R Sugan

Hi


Thanks for your response.The code snippet in "Sms_GUI.java" is as follows:




I have tried this above code and am getting values from database successfully at the same time but i can't able to type
at commands.That is not a exe.Am trying readymade interface.Please assist me to solve this issue.



Regards,
Suganya.
15 years ago
Hi,

Am not getting any error message.But i can't send the message to mobile(can't open serial connection) when am using the DB code.Actually
i tried to send the message to phone number through GSM modem without DB code.I can able to type at commands(GSM modem commands)
and send the messages successfully.But am also tried to send the message to phone number through GSM modem with DB code i can't able to
type at commands(GSM modem commands) but i get the values from DB.Already attached my code to you.I am trying the same code.
Then i tried to attach my output screen but am getting error message.

Files with the extension .doc are not allowed as attachment in the message.


How to attach my output screen.Please guide me to solve this issue.



Regards,
Suganya.
15 years ago
Hi,

Yes.Solved all DB connection problems.I can able to get the values from DB through applet java.
That is not issue.Now i need to send the message through GSM modem successfully without DB connection.
I tried to send the message through GSM modem with DB connection code and i get the values from DB
successfully but i can't able to open serial port connection the same code.How to solve this problem.
Please assist me to solve this problem.





Regards,
Suganya.
15 years ago
Hi,
Thanks.Actually am trying to send sms through GSM modem using the above applet java code.I have
send message to a single person successfully through this above code.Now i need to send more number
of person at a time so i am using database.So i get the values from database successfully.At the same
time i can't able to open the serial port.This is my problem.Am implementing the code for get the
database value.I need to get the values(Phonenumber) from database and also send the message to
corresponding number through this above code(Gsm modem).This is my need.Please assist me to solve this
problem.



Regards,
Suganya.
15 years ago
Hi,
Thanks.I need to get the values from database.I will explain you in detail.I tried to send sms through
GSM modem.I will send message using at commands through GSM modem to single number one by one successfully.
But if i need to send a message to more numbers at a time.so i tried to get numbers from database and i will click send button
the message will be send to the corresponding number.Now am trying code for getting the values from database and get the
values successfully but i am unable to open a serial port at the same time.How to solve this problem.

The following code is



please assist me to solve this problem.


Regards,
suganya.

15 years ago
Hi ujjwal soni,

Thanks for your reply.I worked this sample code and i got this output.Now i need to get the values from mysql database through combo box in applet java code.
Please guide me to get this output.

Regards,
Suganya.
15 years ago
Hi,

Thanks for your response.I got this output.Now i need to get the values from mysql database through combo box in applet java.Please guide me to get this output.




Regards,
Suganya
15 years ago
Hi,
I tried one small application in java applet.Now i need to connect database.Is it possible.
How can i integrate java applet and mysql database.Please give me sample code.



Regards,
Suganya.
15 years ago
Hi Ulf Dittmer,
Thanks for your reply.Please give me any sample code.That is very helpful to solve this problem.



Regards,
Suganya.
15 years ago
JSP
Hi,
I am using more database connection in my jsp coding so the cpu percentage will be automatically
increased(100%) and my server also very slow response.I need one global database connection in jsp
page and get the connection in my code.How can i solve this problem?Please assist me to solve this problem.



Regards,
Suganya
15 years ago
JSP
Hi,

Thanks for your response.I need to send SMS through SMS Gateway.How can i integrate Servlet with SMS Gateway.Actually i need send Modem AT commands through servlet.Please give any idea to continous this process.




Regards,
Suganya.
15 years ago
Hi,

I want send sms to any gsm mobile through java servlet, can any tell me about this ?I have planned send to SMS through GSM modem.How can i integrate Servlet with GSM modem.Please
give me sample code it is very helpful to continue this process.



Regards,
Suganya
15 years ago
Hi,

I need to check the difference between the time in database and system time.I am having both the times in yy:mm:dd hh:mm:ss format.please reply me how to do this .very urgent.I am getting both the time in string like

String calledtime=rs.getString("calledtime");
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss") ;
String currenttime = formatter.format (new Date()) ;




I am getting the output printed as
2008-05-02 16:52:17
2008-05-20 15:10:44


I need this output like this 00:00:00

00:00:01
00:00:02
00:00:03
00:00:04
00:00:05


Thanks.
15 years ago
Hi,

Thanks for your response. I need to check the difference between the time in database and system time.I am having both the times in yy:mm:dd hh:mm:ss format.please reply me how to do this .very urgent.I am getting both the time in string like

String calledtime=rs.getString("calledtime");
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss") ;
String currenttime = formatter.format (new Date()) ;




I am getting the output printed as
2008-05-02 16:52:17
2008-05-20 15:10:44


I need this output like this 00:00:00

00:00:01
00:00:02
00:00:03
00:00:04
00:00:05


Thanks.

Hi,

I need to check the difference between the time in database and system time.I am having both the times in yy:mm:dd hh:mm:ss format.please reply me how to do this .very urgent.I am getting both the time in string like



String calledtime=rs.getString("calledtime");
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss") ;
String currenttime = formatter.format (new Date()) ;




I am getting the output printed as
2008-05-02 16:52:17
2008-05-20 15:10:44

How can i check particularly the seconds now?

Thanks.