File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes how to send sms in jsp web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "how to send sms in jsp web application" Watch "how to send sms in jsp web application" New topic

how to send sms in jsp web application

Abhinav Arya

Joined: Dec 28, 2010
Posts: 9
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

<form id="form1" name="form1" method="post" action="">
<label for="textfield">TO</label>
<input type="text" name="textfield" id="textfield" />
<form id="form2" name="form2" method="post" action="">
<label for="textarea">Message<br />
<textarea name="textarea" cols="60" rows="10" id="textarea" ></textarea>
<form id="form3" name="form3" method="post" action="">
<label for="Submit"></label>
<input type="submit" name="Submit" value="Send Message" id="Submit" />


Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 547

Hi Abhinav,

As far as I know, jsp servlets are based on HTTP (Though GenericServlet may handle others too). Have you checked any sample applications that deal with SMS. SMS is completely a different protocol stack. May be there is some readymade api available over internet, which you can use from your servlets (though you can call it from jsp, but it is not recommended to put any java code in jsp)

It seems sun has an api which you can use

A sample application provided at


Abhinav Arya

Joined: Dec 28, 2010
Posts: 9
Kumar Raja:
Thank you fr showing interest in my post

To tell you the truth the problem is still not over I checked the link which you pointed out but the problem is not yet over the javacommunication is mainly for video sending and receiving.

Meanwhile here are the things which I did:
I found out about celltrust and its service even read its documentation and after that found out that a jar file is missing googled it but could not find it on the net.
The second thing which I found was smsLib but ws still stuck with the problem of missing libraries download link

It would be grateful if you or anyone else could give me a link to readymade api for sending sms and its documentation..........................

Thank you in advance for anyone who could give me a positive reply
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
If you sign up with celltrust, they should provide you with everything you need, including working sample code and such. Have you been in touch with their developer support?
sri ramvaithiyanathan
Ranch Hand

Joined: Nov 20, 2010
Posts: 109
Hi Abhinav,

Kindly take a look at this Link
I believe it will be helpful and i break my head for you.
Take a look and waiting for your reply.


For java examples,ebooks,interview questions,visit this blog
Abhinav Arya

Joined: Dec 28, 2010
Posts: 9
Hi Sriram.V,
Really hat's of to your reply ,I was eagerly waiting for a reply which would make my web app near to its completion.I had googled for this and boggled my mind for hours but you truly came to my rescue.I was just visited the link and would soon be working on it thanks once again.

Yours sincerely,
Abhinav Arya.
sri ramvaithiyanathan
Ranch Hand

Joined: Nov 20, 2010
Posts: 109
Happy to help.
I will post my email address in my blog.
posting email address in coderanch is against rules.So edit your post and delete your mail id.
sure i will send request to the id which you have given.

chain singh
Ranch Hand

Joined: Feb 28, 2012
Posts: 117
hello Sri

please help me i could not find that files which is given in link which you give at your post

please help me any one please
its urgent
I agree. Here's the link:
subject: how to send sms in jsp web application
It's not a secret anymore!