How to send sms to mobile from tomcatserver using java code?
Hi,
Could you please let me know that,
How to send sms to mobile from tomcatserver using java code? Please provide the code snippet.
Thanks in advance.
Yes, but something needs to send that message. You can't just take an arbitrary computer and send an SMS, it does not have the hardware to do that.
So either you have a mobile through which you do that or more likely - you use some sort of online service to do it. Whatever choice you make will determine what code you will have to write to get it done. Nobody is going to deliver the code to you, that's your job. It is also your job to figure out what service you are going to use.
Similar Messages
-
How to send sms to mobile from pc using jsp
hi friends..
i need to send a sms from my website in jsp to mobile phone..
i dont have any idea about it.. i searched it but didnt get proper code or answer dat how should i do it..
plz help me out with proper code....
thanx..........hi,
thanks for the reply.
i tried the clickatell service which u mentioned. i am able to send the prestored message which they provide.
but to send our own message we need to purchase that service, for this they sends a verification code on our mobile which i am not getting. i sent them mail but not getting any positive response.
i wanted to know that have tried that service or any other which i can use.
help me out in this matter.
thanks.. -
How to store the data read from excel using java code in Ms access database
Hi. I wrote a code to read the data from excel. May i know how can i save it to Ms access database using java. Also i have many excels. So i should not connect the database using DSN. So is there any other way to achieve this?
kramish wrote:
Im pretty sure that Access does support JDBCNo it does not. It supports ODBC.
just doing a quick Google came up with some pages:
http://blog.taragana.com/index.php/archive/access-microsoft-access-database-from-java-using-jdbc-odbc-bridge-sample-code/
http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html
Both articles explains how to use the jdbc-odbc bridge. I think I've seen a pure jdbc driver for access but it wasn't from Microsoft and it wasn't free.
Kaj -
How to send SMS thru SMPP from PL/SQL
How to send SMS thru SMPP from PL/SQl or forms application. SMPP interface setuped in the SMSC. Requirement is send to SMS's to custoemrs thru our forms application.
How to send SMS thru SMPP from PL/SQl or forms application. SMPP interface setuped in the SMSC. Requirement is send to SMS's to custoemrs thru our forms application.
-
How can we get requester's user id using java code
Hi,
How can we get requester's user id using java code?
eg: If i had logged in as xelsysadm and request a resource for user uid101 on the userid field it should display uid101 and not xelsysadm.
also,
I have a resoure "A" which on revoking should also revoke resources B and C. How can it be done. Resource A, B, and C are 3 different resource objects.
==Thanks,
dokiOk, so there is a way, but it's not available during submission. You can use the findRequests api. From the result set, get the "Requests.Consolidated Data Value" value. In this information, you will get an xml formatted data. It provides the list of users on the request on the left side after submission. After the request is completed, this value is available. Upon completion, you could get the request information, get this value, and parse the information for user ids.
In the same adapter, use the following API:
formIntf.setObjectFormData(objInstanceKey, formHash)
The formHash is a hashtable containing the field name on your object form, and the values you wish to populate it with. You could create a textarea box on your object form and populate the userids for who the request is for.
However, this makes absolutely 0 sense. When you get a request, the list of userids are listed right there on the request.
-Kevin -
How to send data to bam data object through java code
how to send data to bam data object through java code
I've made a suggestion in other thread: https://forums.oracle.com/thread/2560276
You can invoke BAM Webservices (Using Oracle BAM Web Services) or use JMS integration using Enterprise Message Sources (http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bam_ent_msg_sources.htm)
Regards
Luis Fernando Heckler -
How to create a table in the file using java code.?
HI,
I should export the data from the view objects to a word document. I have done that but I should
display the data in the form of a table.
Kindly come up with the necessary information on how to create a table in the file using java.
Thanks,
PhaniHi, Thank you for responding to my query.
The below are the details of my code.
DCBindingContainer dcBindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding StudentDetailsContent =
(DCIteratorBinding)dcBindings.get("StudentView1Iterator");
OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
Row currentRow =
StudentDetailsContent.getRowSetIterator().first();
Object a[]= currentRow.getAttributeValues();
int i;
for(i=0 ;i<=a.length;i++){
w.write(a.toString());
w.write(" ");
w.flush();
I am usning this coding to achieve the task of exporting data to file.
I need to display this information in the table that is where I need help from you people.
Thanks, -
How to dynamically configure JPA setting at runtime using java code?
Hi,
I am new to EJB 3.0 and JPA. I am trying to help my company to deploy the use of JPA in EJB3.0. Currently, i am trying out with OpenJPA in IBM Webshpere Application Server 7.0. We have four different WAS servers running for testing, system integration testing, user testing and production respectively, and in each region, the configurations for data source, JDBC username and password, schema, etc are different. So i think i would need to configure the JPA setting during runtime using Java code that determines which is the environment. And apparently i am stuck with the limited knowledge i have.
1) I understand that i could override the JDBC in the persistence xml by creating entity manager using entity manager factory. But is it possible that i do similar thing by using inejction of persistence context on entity manager to obtain a container managed entity manager?
2) Alternatively, it is possible to create multiple persistence unit in the XML and inject different PU to the entity manager, am i right? But how to inject dynamically since @PersistenceContext(unitName="xxx") only accepts constant declaration.
3) Is it possible that the JDBC username and password are read from properties file?
Thanks for your help in advance!Hi
Thanks for the reply.
Are you saying that i have to configure the data source authentication to the backend DB2 using the JAAS-J2C? Correct me if i am mistaken. I guess i am unable to do so as the application server setup only contains one data source, and the server hosted a number of applications. Every applications has their own JDBC username and password supply to the data source (the ID supplied at the DB2 side will decide which resource can access) and thus, i have to supply the username and password at runtime. Talked to the server guy and seems that it is not feasible to have seperate datasource for each applications as considered to the volume of applications hosted inside the server.
Any suggestion? -
How to launch Jar file in Mac Os using java code??
can anyone tell me how can i launch another jar file in my apllication using java code.
define "launch".
- You want to run a new java program in a separate process? (see Runtime.exec())
- You want to run a method in a specific class in the jar? (add jar to application classpath and then simply instantiate the class and call the method) -
How to send records to the MDM workflow using Java APIs
Hi All,
Using Java APIs i want to send group/single records to the backend MDM workflows for further processing. Can this be acheived? Please provide me with some code samples if you have any
Regards
SureshHi,
Just go through this URL
https://help.sap.com/javadocs/MDM/current/index.html
In this <b>com.sap.mdm.workflow.commands </b> will Provide u commands for managing workflows.
I hope this helps you.
Regards
Nisha
Message was edited by:
Nisha Lalwani -
How to extract email with attachments from outlook using java
anybody please suggest a solution to the above problem. the program needs to store the attachments from the mails of outlook automatically into the hard disk
anybody please suggest a solution to the above
problem. the program needs to store the attachments
from the mails of outlook automatically into the hard
diskBest done by not using Java but anything from C++ to VB and reading the Outlook API. -
How to add DTD syntax line into XML using java code
Hi,
I am building xml file with java, usiing document.createElement()
and document.appendChild(element),
like that
now i need to add dtd file path and synatx in the top of the xml file,
how can i do it through java code
any body could help me
i appreciate your help.
thanks
DurgaHi Suneetha,
Thanks for your reply..
Now i am getting docType in xml file but not in the format of what i want
please look at my code
i need
<!DOCTYPE myRootElement SYSTEM "myXMLDTD.dtd" >
but i am getting
<!DOCTYPE myRootElement PUBLIC "" "myXMLDTD.dtd">
There is change i need to get the SYSTEM in place of PUBLIC and i need to get rid of "" code between dtd and PUBLIC
for this i am doing in my code as
DocumentType theDocType = new DocumentImpl().createDocumentType ("SYSTEM","","myXMLDTD.dtd");
Document theDoc = new DocumentImpl(theDocType);
i dn't know what is the wrong ? i dn't know what are the parameters at what place to pass if you know any thing just let me know
thanks in advance
and i apperciate you help.
Durga -
hi all
i want to set SMS when Sales Order is created .
tell me is is possbile in ECC6.0 or need any configuration
tell me how to do that.
regards
ulhasHi,
though I havent done it,
to my knowledge you need to have registered to a service provider (mobile),
so anytime your WF triggers, it would identify the number and send it thru this protocol.
This service provider routes all your SMS to any mobile numbers, for this you also need to have HTTP maintained in your SCOT.
I havent heard of any standard task.
Aditya -
How to send PLAIN text email from sp_send_dbmail using SQL Server 2008 R2?
I have configured Database Mail in SQL Server 2008 R2 (64) and it sends emails just fine. However the destination is recieving the body of thes message as Base 64 encoding.
Snippet:
EXEC msdb..sp_send_dbmail @profile_name='Outmail', @recipients = @recpts, @subject = @subj, @body_format = 'TEXT', @body=@body2;
As you can see I set @body_format to TEXT, but it still sends Base 64. I need to send plain ASCII text. How can I change this?I am having this exact issue too. I have a trigger that sends an email using a stored procedure. The dbmail is sending the email using the Exchange 2010 server SMTP. It does not login so the email is relayed as user = "Anonymous".
The SQL dbmail email header is showing the following:
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Organization-AuthSource: MX01.domain.local
X-MS-Exchange-Organization-AuthAs: Anonymous
Here is the header if I send via Outlook profile using the legacy program I am trying to automate using SQL Server 2008R2:
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator: <[email protected]>
MIME-Version: 1.0
X-MS-Exchange-Organization-AuthSource: MX01.domain.local
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 03
X-Originating-IP: [192.168.13.66]
Any help would be greatly appreciated! -
How to change the properties of a directory using java code
Hai All,
I need to change the properties of directory( websharing).
Can i do this using java code.
Regards,
CharanI need to change the properties of
directory( websharing).
an i do this using java code.Depends on whether the server has a Java API to do it. Most likely it hasn't.
Maybe you are looking for
-
after update to 20.0.1 a few hours ago, right click shows ALL menu options, many (all?) don't work, like "view page source", "open in new tab" etc. etc.
-
Turning off yellow warning messages?
Do we have any control over various warning messages? For example 'Swiss Franc is not an official Currency in Unites States' or ' Expense date doesn't fall within the dates of the expense report'
-
SIA in stopped status after installation of SAP BO BI 4.0 SP02 Full Build
SIA in stopped status after installation of SAP BO BI 4.0 SP02 Full Build Version Regards Kapil
-
Error when upgrade from 8.8 PL5 to other patch or upgrade
Hi, I encountered a problem during the upgrade process from PL05 to another PL, to be precise to PL13, PL14, PL15 and PL16. In practice, the system does not allow me to select Common DB and Company DB in the list of components to upgrade. If I look i
-
'action performed' on array of buttons.
Hi everyone! I am trying to set up an array of buttons on a panel in the main frame of my application. I can get them on to the panel, displaying them correctly but i can;t seem to attach an action performed method to them. Ive attached the following