Solved

HTML code for Java Application

Posted on 2007-03-31
4
337 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fix Form size HTML 16 30
Website not secure message 4 54
How to calculate height of a text using jquery 3 42
Session on Html 8 39
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

756 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