Solved

HTML code for Java Application

Posted on 2007-03-31
4
331 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:mayankeagle
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will learn how to implement Singleton Design Pattern in Java.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

743 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

12 Experts available now in Live!

Get 1:1 Help Now