Solved

HTML code for Java Application

Posted on 2007-03-31
4
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

688 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