How to use java to send emails
Hi,
I am having problems trying to send an email using java. No idea what is going on because it looks fine. Can anyone give any insight?
Cheers
Robert
import java.awt.event.*;
import java.awt.*;
import java.net.*;
import java.io.*;
import javax.swing.*;
* JEmail.java
* @author Robert Venning 18/09/2005
* @version 1.0
public class JEmail extends JFrame implements ActionListener{
private static final long serialVersionUID = 1L;
final int SMTP_PORT = 25;
JLabel fromLabel = new JLabel("From: ");
JLabel toLabel = new JLabel("To: ");
JLabel ccLabel = new JLabel("CC: ");
JLabel subjectLabel = new JLabel("Subject: ");
JTextField from = new JTextField(20);
JTextField to = new JTextField(20);
JTextField cc = new JTextField(20);
JTextField subject = new JTextField(20);
JTextArea message = new JTextArea(10,30);
JScrollPane scrollPane = new JScrollPane(message);
JButton send = new JButton("Send");
public JEmail(){
super("Email Program");
JPanel mainPane = new JPanel();
JPanel pane = new JPanel();
JPanel fromPane = new JPanel();
JPanel toPane = new JPanel();
JPanel ccPane = new JPanel();
JPanel subjectPane = new JPanel();
mainPane.setLayout(new FlowLayout());
pane.setLayout(new GridLayout(4,1));
fromPane.add(fromLabel);
fromPane.add(from);
toPane.add(toLabel);
toPane.add(to);
ccPane.add(ccLabel);
ccPane.add(cc);
subjectPane.add(subjectLabel);
subjectPane.add(subject);
pane.add(fromPane);
pane.add(toPane);
pane.add(ccPane);
pane.add(subjectPane);
mainPane.add(pane);
mainPane.add(scrollPane);
mainPane.add(send);
setContentPane(mainPane);
send.addActionListener(this);
public static void main(String[] args) {
JFrame aFrame = new JEmail();
aFrame.setSize(350, 400);
aFrame.setVisible(true);
public void actionPerformed(ActionEvent event){
try{
PrintWriter writer = new PrintWriter(new FileWriter("log.txt"));
String input, output;
Socket s = new Socket("mail.tpg.com.au", SMTP_PORT);
BufferedReader in = new BufferedReader
(new InputStreamReader(s.getInputStream()));
BufferedWriter out = new BufferedWriter
(new OutputStreamWriter(s.getOutputStream()));
output = "HELO theWorld" + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
input = in.readLine();
System.out.println(input);
// writer.println(input);
output = "MAIL FROM: <" + from.getText() + ">" + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
input = in.readLine();
System.out.println(input);
// writer.println(input);
output = "RCPT TO: <" + to.getText() + ">" + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
input = in.readLine();
System.out.println(input);
// writer.println(input);
output = "DATA" + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
input = in.readLine();
System.out.println(input);
// writer.println(input);
output = "Subject: " + subject.getText() + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
output = "From: Robert Venning <" + from.getText() + ">" + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
// message body
output = message.getText() + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
output = ".\n";
out.write(output);
out.flush();
System.out.println(output);
writer.println(output);
output = "QUIT" + "\n";
out.write(output);
out.flush();
System.out.print(output);
writer.println(output);
input = in.readLine();
System.out.println(input);
// writer.println(input);
writer.close();
s.close();
catch(Exception exception){
exception.printStackTrace();
}
Hi, floppit. For sending emails, I used the JavaMail API. Here is some code I wrote where I used JavaMail. The most relevant lines are in bold.
/* File: ListenNotifier.java
* Author: Fabricio Machado
* [email protected]
* This utility is based on the "Listen.java" tool from the Tiny OS
* java tools package, in /tinyos-1.x/tools/java/net/tinyos/tools/.
* The original application has been extended to convert raw packet data into
* a more meaningful representation of actual photo sensor readings in
* lux.
* The application checks the readings against a user-defined
* threshold, and sends email notifications when readings break the
* threshold, and also when readings dip back below the threshold.
* Currently, the code is only fit to handle packets from the Tiny OS
* nesc application OscilloscopeRF.nc. The code gets the packet data
* by connecting via TCP to a Tiny OS java tool called "Serial Forwarder."
* "Serial Forwarder" takes packets from the base station, and forwards
* them to TCP port 9001.
* Below is UC Berkeley's copyright disclaimer regarding the original code.
* | |
* | |
* | |
* | |
* __| |__
* v
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copyright notice, the following
* two paragraphs and the author appear in all copies of this software.
* IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
* OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
* CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
* ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
* Copyright (c) 2002-2003 Intel Corporation
* All rights reserved.
* This file is distributed under the terms in the attached INTEL-LICENSE
* file. If you do not find these files, copies can be found by writing to
* Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA,
* 94704. Attention: Intel License Inquiry.
import java.util.Properties;
import java.io.*;
import java.net.*;
import net.tinyos.packet.*;
import net.tinyos.util.*;
import net.tinyos.message.*;
import javax.mail.internet.*;
import javax.mail.*;
import java.util.*;
public class ListenNotifier{
public static void main(String args[]) throws IOException, MessagingException {
int i;
int j = 0;
Integer threshold=0;
String to="";
String timeStamp;
// Check to see if user is running the program correctly.
// If -T option is not used, a default value of 250 lux is
// set as threshold . . .
switch (args.length){
case 0:
System.err.println("usage: java ListenNotifier < EmailAddress1 > < EmailAddress2 > . . . -T < Threshold >\n");
System.exit(2);
break;
case 1:
to = args[j];
threshold = 250;
break;
default:
if (args[args.length-2].equals("-T")){
threshold = threshold.valueOf(args[args.length-1]);
to = args[0];
while(!args[j+1].equals("-T")){
to = to + " " + args[j+1];
j++;
break;
else{
j = 0;
threshold = 250;
to = args[j];
while((j + 1) < args.length){
to = to + " " + args[j+1];
j++;
System.out.printf("Mailing list is: %s\n", to);
break;
// Connect to the Serial Forwarder on TCP port 9001 . . .
PacketSource reader = BuildSource.makeSF("192.168.0.12",9001);
// Check to see if connection to Serial Forwarder successful . . .
if (reader == null) {
System.err.println("Invalid packet source (check your MOTECOM environment variable)");
System.exit(2);
try {
// Use JavaMail API methods to set up an
// email session . . .
Properties props = System.getProperties();
Session session = Session.getInstance(props, null);
javax.mail.Message message = new MimeMessage(session);
// Open the packet source . . .
reader.open(PrintStreamMessenger.err);
// Set a threshold boolean to be used so
// email is sent only once after threshold
// is exceeded.
Boolean limit = false;
for (;;) {
// The node ID field in the OscilloscopeRF packet
// is 2 bytes long, but all byte pairs in the packet
// are in little endian order. Thus, the bytes must
// be re-ordered. They are then converted to unsigned
// integers and added together to obtain the node ID.
byte[] packet = reader.readPacket();
Integer nodeID = (( int ) packet[5] & 0xFF) + ((( int ) packet[6] & 0xFF)<<8);
System.out.printf("Packet from node %d . . . \n", nodeID);
// Begin extracting data payload of sensor readings,
// which are stored in the last 20 bytes of the packet . . .
for (i = 0; i <= 9; i++){
// Convert reading to integer, display on screen . . .
Integer sensorData = (( int ) packet[(2*i)+11] & 0xFF) + ((( int ) packet[(2*i)+12] & 0xFF)<<8);
System.out.printf("Sample %d reading at %d lux.\n", i+1, sensorData);
// Is sensor reading above limit?
if(!limit && (sensorData >= threshold)){
limit = true;
System.out.printf("WARNING: SENSOR READING ABOVE THRESHOLD--SENDING NOTICE BY TEXT MESSAGE.\n");
// Compute a time stamp for when threshold was exceeded.
java.util.Locale locale = Locale.getDefault();
java.text.DateFormat dateFormat = java.text.DateFormat.getDateTimeInstance(java.text.DateFormat.LONG,
java.text.DateFormat.LONG, locale);
timeStamp = dateFormat.format(new java.util.Date());
// Build message and send to recipients in mailing list . . .
message.setFrom();
message.setRecipients(javax.mail.Message.RecipientType.TO, InternetAddress.parse(to, false));
message.setSubject("WARNING: NODE " + nodeID.toString() + " SENSOR READING ABOVE THRESHOLD!");
message.setText("Node " + nodeID.toString() + " sensed " + sensorData.toString() + " lux on " + timeStamp + "\n");
Transport.send(message);
System.out.printf("%s\n",timeStamp);
// Has sensor reading now dropped from above threshold to below threshold?
// Same concept as before . . .
if(limit && (sensorData < threshold)){
limit = false;
System.out.printf("READING BELOW THRESHOLD AGAIN . . . SENDING NOTICE BY TEXT MESSAGE.\n");
java.util.Locale locale = Locale.getDefault();
java.text.DateFormat dateFormat = java.text.DateFormat.getDateTimeInstance(java.text.DateFormat.LONG,
java.text.DateFormat.LONG, locale);
timeStamp = dateFormat.format(new java.util.Date());
message.setFrom();
message.setRecipients(javax.mail.Message.RecipientType.TO, InternetAddress.parse(to, false));
message.setSubject("NODE " + nodeID.toString() + " READING BELOW THRESHOLD AGAIN.");
message.setText("Node " + nodeID.toString() + " sensed " + sensorData.toString() + " lux on " + timeStamp + "\n");
Transport.send(message);
System.out.printf("%s\n",timeStamp);
System.out.println();
System.out.flush();
// Catch IOException from Tiny OS java method, and
// MessagingException from setRecipients method in JavaMail API . . .
catch (IOException e) {
System.err.println("Error on " + reader.getName() + ": " + e);
catch(MessagingException e){
System.err.println("Error in javax.mail.message.setRecipients:\n" + to);
}
Similar Messages
-
How to use UTL_SMTP to send email with existing file attachment
Hello! I am trying to create a pl/sql procedure that lets me send an email and include an existing file to a email address. So far, I found information on how to send a file and create an attachment with information I put in the procedure. This is NOT what I'm trying to do. I'm trying to send an email and include an attachment for a file that already exists. I need the pre-existing file to be sent to the email recipient.
This is how far I've gotten, but this only allows me to CREATE an attachment with the information I put in it from the procedure. I got it from the following site:
http://www.orafaq.com/wiki/Send_mail_from_PL/SQL
DECLARE
v_From VARCHAR2(80) := '[email protected]';
v_Recipient VARCHAR2(80) := '[email protected]';
v_Subject VARCHAR2(80) := 'Weekly Invoice Report';
v_Mail_Host VARCHAR2(30) := 'mail.mycompany.com';
v_Mail_Conn utl_smtp.Connection;
crlf VARCHAR2(2) := chr(13)||chr(10);
BEGIN
v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
utl_smtp.Mail(v_Mail_Conn, v_From);
utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
utl_smtp.Data(v_Mail_Conn,
'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
'From: ' || v_From || crlf ||
'Subject: '|| v_Subject || crlf ||
'To: ' || v_Recipient || crlf ||
'MIME-Version: 1.0'|| crlf || -- Use MIME mail standard
'Content-Type: multipart/mixed;'|| crlf ||
' boundary="-----SECBOUND"'|| crlf ||
crlf ||
'-------SECBOUND'|| crlf ||
'Content-Type: text/plain;'|| crlf ||
'Content-Transfer_Encoding: 7bit'|| crlf ||
crlf ||
'This is a test'|| crlf || -- Message body
'of the email attachment'|| crlf ||
crlf ||
'-------SECBOUND'|| crlf ||
'Content-Type: text/plain;'|| crlf ||
' name="ap_inv_supplier_cc10.txt"'|| crlf ||
'Content-Transfer_Encoding: 8bit'|| crlf ||
'Content-Disposition: attachment;'|| crlf ||
' filename="ap_inv_supplier_cc10.txt"'|| crlf ||
crlf ||
'TXT,file,attachment'|| crlf || -- Content of attachment (THIS IS MY PROBLEM! I NEED TO BE ABLE TO ATTACH AN EXISTING FILE, NOT CREATE A NEW ONE)
crlf ||
'-------SECBOUND--' -- End MIME mail
utl_smtp.Quit(v_mail_conn);
EXCEPTION
WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
END;
/First, you must create a directory object
create directory ORALOAD as '/home/ldcgroup/ldccbc/'
/Study the Prerequisites in the link I posted above, or else you will not be able to read/write files from the above directory object
"fname" relates to the file name that you read from.
In the code below, it is also the name of the file that you are attaching.
Although they can be different!
l_Output is the contents of the file.
declare
vInHandle utl_file.file_type;
flen number;
bsize number;
ex boolean;
l_Output raw(32767);
fname varchar2(30) := 'ap_inv_supplier_cc10.txt';
vSender varchar2(30) := '[email protected]';
vRecip varchar2(30) := '[email protected]';
vSubj varchar2(50) := 'Weekly Invoice Report';
vAttach varchar2(50) := 'ap_inv_supplier_cc10.txt';
vMType varchar2(30) := 'text/plain; charset=us-ascii';
begin
utl_file.fgetattr('ORALOAD', fname, ex, flen, bsize);
vInHandle := utl_file.fopen('ORALOAD', fname, 'R');
utl_file.get_raw (vInHandle, l_Output);
utl_file.fclose(vInHandle);
utl_mail.send_attach_raw(sender => vSender
,recipients => vRecip
,subject => vsubj
,attachment => l_Output
,att_inline => false
,att_filename => fname);
end;
/ -
How to use java mail to send email to hotmail box
how to use java mail to send email to hotmail box??
i can send emails to other box(my company's email account) but for hotmail, the program didnt print any err or exception the recepient cant receive the mail.
thanksyou ust to download activation.jar and mail.jar and add them to your build path.
i have used the googlemail smtp server to send mail the code is following:
public void SendMail()
Properties props = new Properties();
props.put("mail.smtp.user", username);
props.put("mail.smtp.host", host);
props.put("mail.smtp.port", port);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.socketFactory.port", port);
try{
Authenticator auth = new SMTPAuthenticator(username,password);
Session session = Session.getInstance(props, auth);
MimeMessage msg = new MimeMessage(session);
msg.setText(text);
msg.setSubject(subject);
msg.setFrom(new InternetAddress(senderEmail));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(receiver));
Transport.send(msg);
}catch(Exception ex) {
System.out.println("Error Sending:");
System.out.println(ex.getMessage().toString());
and this the SMTPAuthenticator Class which you will need too.
class SMTPAuthenticator extends javax.mail.Authenticator {
private String fUser;
private String fPassword;
public SMTPAuthenticator(String user, String password) {
fUser = user;
fPassword = password;
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(fUser, fPassword);
} -
How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.
Dear Experts:
Please help me. How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.
My Program code is as follow:
*Send the mail.
tb_receipients-recnam = 'BAITZ'.
tb_receipients-recesc = 'B'.
tb_receipients-sndex = 'X'.
tb_receipients-att_fix ='X' .
APPEND tb_receipients.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = wa_method1
office_user = wa_owner
ref_document = wa_ref_document
new_parent = wa_new_parent
IMPORTING
authority = wa_authority
TABLES
objcont = tb_objcnt
objhead = tb_objhead
objpara = tb_objpara
objparb = tb_objparb
recipients = tb_receipients
attachments = tb_attachments
references = tb_references
files = tb_files
CHANGING
document = wa_document
header_data = wa_header.
endform. " send_mail
By the why, tb_receipients-recnam = 'BAITZ'. What's the meaning of 'BAITZ'? Thanks!you can use FM SO_NEW_DOCUMENT_SEND_API1
WA_RECV TYPE SOMLRECI1,
IT_RECV TYPE STANDARD TABLE OF SOMLRECI1.
wa_recv-receiver = 'TO email address'.
wa_recv-rec_type = 'U'.
wa_recv-com_type = 'INT'.
APPEND wa_recv TO it_recv.
CLEAR wa_recv."To Recipient
wa_recv-receiver = 'CC email address'.
wa_recv-rec_type = 'U'.
wa_recv-com_type = 'INT'.
wa_recv-copy = 'X'.
APPEND wa_recv TO it_recv.
CLEAR wa_recv. "CC Recipient
wa_recv-receiver = 'BCC email address'.
wa_recv-rec_type = 'U'.
wa_recv-com_type = 'INT'.
wa_recv-blind_copy = 'X'.
APPEND wa_recv TO it_recv.
CLEAR wa_recv. "BCC Recipient -
How to use logger to send any output instead of the console?
How to use logger to send any output instead of the console?
How to use logger to send any output instead of the
console?There are three commonly used logger inferfaces, the log4j, the java.util.loging and the Commons logging (which works with either.)
You create a logger object, generally one for each class. Normally a private static variable points to it and it has a name equal to the FQN of the class.
e.g.
package org.widget;
public class MyClass {
private static Logger log = Logger.getLogger("org.widget.MyClass");That's the java.uitil.Logger formula.
Then there are method on the logger to call for various kinds of output. There' are different logging levels, priorities like SEVERE or DEBUG. When running the logs are configured to ignore messages of less than a set priority.
You can also pass an Exception or Error to the logger which will log the stack trace. -
How do you make icalendar send email notifications?
Since I "upgraded" my Mac OS I can't figure out how to get calendar to send email notifications. Is this feature gone, now?
Apple seems to be losing its way since Jobs died. They continue with their efforts to hide features, not document features, and make their products slower and harder to use. I hate the new iPhone OS. I think Apple must hate older people because they keep switching to fonts that are harder to read (e.g. light red on white with thinner font for the calendar app).
-
How to use Java as a Front-end app
how java application can be used as the Front-end interfaces to Forte based
applications???
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Rajiv,
If you have Forte's WebEnterprise product, and Forte version 3.0.G.x or
later, you have the ability to export an IIOP interface for any Forte
service object. In fact, you can go one step further and generate a Java
interface that "hides" the IIOP issues from the developer. The way you do
this is to do the following:
1) From the partitioning workshop, double click on the service object you
wish to expose as an IIOP interface. This will bring up the Service Object
Properties dialog.
2) Off the Export tab, set the External Type drop down to IIOP. If IIOP is
not an available option in the drop down list then you do not have
WebEnterprise install.
3) From here you need to set up the necessary IIOP configuration parameters
(see the documentation for details on the specifics of what the parameters
control).
4) If you want to have Forte generate a JavaBean interface and the necessary
Java classes to be called by your application then make sure you select the
Java parameter at the bottom of the Configuration dialog. If IDL is
selected then Forte will generate a generic IDL interface.
5) When you make your distribution Forte will generate the Java classes for
you.
This mechanism works very well for accessing a Forte service object from a
Java application.
Good Luck!
Jeff Wille
-----Original Message-----
From: Rajiv Srivastava <[email protected]>
To: [email protected] <[email protected]>
Date: Wednesday, December 09, 1998 2:03 PM
Subject: how to use Java as a Front-end app
how java application can be used as the Front-end interfaces to Forte based
applications???
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Failure to use Wallet to Send Emails
Hello,
I use Oracle 11.2.0.3 SOE, APEX 4.2.2 ... Listener 2.0.3 with Glassfish 3.0.2.
I am trying to use Gmail to send emails from APEX instance:
Host: smtp.gmail.com
Port: 465
Use SSL/TLS : Yes
Wallet Path: file:C:\app\Administrator\product\11.2.0\dbhome_1\BIN\owm\wallets\Administrator
Wallet Auto login is enabled .
I got the certificate from this website:
https://www.geotrust.com/resources/root-certificates/index.html
But in the Mail queue, I get this error:
ORA-28759: failure to open file.
So, how can I use Gmail to send emails from APEX ??
Regards,Maybe this could help:
https://blogs.oracle.com/oracleworkflow/entry/using_gmail_smtp_and_imap
Thank you,
Tony Miller
LuvMuffin Software -
How to setup adobe to send emails from the application?
How to setup adobe to send emails from the application?
Click Edit>Preferences and select the Email Account Preferences
Click Add Account and select “Add other…” or if you use Gmail or Yahoo mail, select the appropriate choice for it.
Enter your Email Account info and then click “Advanced Settings” and configure your incoming and outgoing mail settings per your email account in Outlook, Thunderbird or mail service.
Click OK, and click Add. The new Email Account will now appear in your listed accounts.
Click the new account and click “Make Default”
The checkmark will indicate the new account is set as the default Email Account for Reader. -
How to use java source in Oracle when select by sqlplus.
How to use java source in Oracle when select by sqlplus.
I can create java source in Oracle
import java.util.*;
import java.sql.*;
import java.util.Date;
public class TimeDate
public static void main(String[] args)
public String setDate(int i){
GregorianCalendar calendar = new GregorianCalendar();
calendar.setTime(new Date((long)i*1000));
System.out.println("Dateline: "
+ calendar.get(Calendar.HOUR_OF_DAY) + ":"
+ calendar.get(Calendar.MINUTE) + ":"
+ calendar.get(Calendar.SECOND) + "-"
+ calendar.get(Calendar.YEAR) + "/"
+ (calendar.get(Calendar.MONTH) + 1) + "/"
+ calendar.get(Calendar.DATE));
String n = calendar.get(Calendar.YEAR) + "/" + (calendar.get(Calendar.MONTH) + 1) + "/" + calendar.get(Calendar.DATE);
System.out.print(n);
return n;
I have table name TEST
ID DATE_IN
1 942685200
2 952448400
When I write jsp I use method setDate in class TimeDate
The result is
ID DATE_IN
1 1999/11/16
2 2003/7/25
Thanks you very much.It is unclear where you are having a problem. Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
Also be aware that you will need to sign your jar and include some new manifest entries. Refer to the Java 7u51 documentation and blogs that discuss the changes.
https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html -
Hi Experts,
please help me ,
How TO Use Java Mapping In XI?
Thanks
MaheshHi,
Just refer the following links for java mapping:-
1./people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
2./people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
Regards,
Ashwin M
Reward if helpful -
JNI - how to use java access function in TypeLibrary( .tlb file) HELP ME PL
Hey All
I got one project which can be done by calling up functions in xxxx.tlb
(window type library) file, that is no problem.
How to use java to access those functions???
I know there are some classes which can be used to access function in
DLL file e.g. JAWIN.
Is the .tlb file related to one DLL file??? if so, how to locate the
DLL file through .tlb file???
Thanks a lot.
SteveUse JNI to create a link between Java class and a DLL, then you can load that DLL (or TLB) from that class.
Read the JNI Tutorials. -
How to use java integrate with ondemand
Hi All,
As i'm new to integration, can anyone help me to use java integrate with ondemand that inserts some records in ondemand and deletes some records from ondemand in secheduled interval basis.?
Thanks in advance..!
regards
sowmGreetings,
hi forum...
how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
thanks
minduRegards,
Tony "Vee Schade" Cook -
How to use Java Beans In JSTL?
Hi
I want to know how to use Java bean in JSTL
please explain this with giving any one example.
Thanks-
SwapneelA bean is obtain by <jsp:useBean> tag nd once bean is obtained we can get its property by using getProperty tag.
-
How to use java script when popups are blocked in browser
How to use java script when popups are blocked in browser
Not. When people install a popup blocker they don't WANT popups, so stop trying to force them down their throats.
Maybe you are looking for
-
HI, WHEN I AM DOING THE MIRO FOR PLANNED DELIVERY COST WITH DIFFERENT VENDOR IN CASE OF IMPORT PO. AT THE TIME OF MIRO IT IS PICKING THE CURRENT EXCHANGE RATE ENTERED IN OB08,NOT WHAT I HAVE MENTIONED IN PO.THOUGH I HAVE TICKED THE "FIX EXCHANGE RATE
-
My iphone dont show image artist
hi please help me my iphone model 5s is dont show arist image in music player serial number : F1*****F9R IMEI/MEID : ***** Update : IOS 7.1.2 <EDITED by HOST>
-
The iPod mini is visible on a mac mini, OS X 10.3.9, iTunes 4.7 but is not on a mac mini, OS X 10.4.2, iTunes 4.9 My assumption is that there is a problem with the OS? Seems similar to 10.3 to 10.3.3 which did not detect iPod minis either. Can anyone
-
Unable to connect ios7 iPad to iTunes
I updated to ios7 and now itunes says it wont recognise the device until I update itunes - i HAVE updated itunes but it still says the same
-
I miss the Automate "Web Photo Gallery" and "Picture Package" tools. I know that these need to be downloaded and installed in CS4. I now have CS5 and found I still need to download them so found them at http://www.adobe.com/support/downloads/thankyou