Solved

HTML code for Java Application

Posted on 2007-03-31
4
332 Views
Last Modified: 2013-11-23
I need to add a Java Application to a web page.  In the past, I used

<applet code ="MyApplet.class" width = "360" height = "360"></applet>

in the html file to add a Java Applet to a web page.

What html code is used to add a Java Application to a web page?
0
Comment
Question by:CharleneS77
4 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 30 total points
ID: 18830817
You cannot add a Java application to a webpage. The nature of an application is that it is standalone. If you need something on a webpage, then you need to make an applet. Usually, however, it is simple to convert applications to applets:

    http://www.google.com/search?q=converting%20application%20to%20applet
0
 
LVL 23

Assisted Solution

by:Ajay-Singh
Ajay-Singh earned 20 total points
ID: 18831185
> I need to add a Java Application to a web page

You need to convert that application to applet. Best way to ship java application is to use java web start (http://java.sun.com/products/javawebstart/)
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18831237
If this is an academic question - the answer to be told to your teacher is simply "no, this cannot be done", as already told.
0
 

Author Comment

by:CharleneS77
ID: 18837849
>>>>Best way to ship java application is to use java web start

Java Web Start is included in the JRE.  I'm not sure I understand what you mean?  How do you use Java Web Start to view the application from a web page?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sums of coloumns in html/java 15 67
Enter key on html form page 11 48
Alignment is not working correctly. 8 32
Bootstrap on PLNKR 3 14
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Find out what you should include to make the best professional email signature for your organization.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now