Article View: aus.computers.java
Article #68Implementing this app in browser with multiple jar/classes?
From: news reader
Date: Fri, 18 Sep 2009 01:04
Date: Fri, 18 Sep 2009 01:04
46 lines
2380 bytes
2380 bytes
Hello,
Complete newbie here.
How do you get the following application to run in a web browser?
myapp.jar
myappcommoncommons.jar
myappchartcomp.jar
classes\mycompany\chart
MyappChart.class
classes\mycompany\gui
Main.class
Main_AboutBox.class
Main_jMenuFileExit_ActionAdapter.class
Main_jMenuFileOpen_ActionAdapter.class
Main_jMenuHelpAbout_ActionAdapter.class
Main_plotButton_mouseAdapter.class
Monitor.class
classes\mycompany\metrics
MyappMetricManager.class
MyappMetrics.class
classes\mycompany\util
DateUtil.class
I've found this web page:
http://java.sun.com/docs/books/tutorial/deployment/jar/run.html
and have tried embedding the main JAR of our application as follows:
<html>
<body>
<applet code="classes/mycompany/gui/Main.class"
archive="myapp.jar"
width=100% height=90%>
</applet>
</html>
but this fails miserably!
How do you direct the browser to handle multiple classes? Or do I need to?
How about the alternate JARs?
I would really appreciate your knowledgeable input!
Thank you very much!
Technical Details
Message-ID:
<r0Bsm.41261$ze1.36543@news-server.bigpond.net.au>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!novia!news1.optus.net.au!optus!snewsf0.syd.ops.aspac.uu.net!pit-transit.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f2e9bcd5a9,4faa2e04752b54d1,start X-Google-Attributes: gidf2e9bcd5a9,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!novia!news1.optus.net.au!optus!snewsf0.syd.ops.aspac.uu.net!pit-transit.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: "news reader" <newsreader@bigpond.com> Newsgroups: aus.computers.java Subject: Implementing this app in browser with multiple jar/classes? Lines: 49 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Antivirus: avast! (VPS 090917-0, 17/09/2009), Outbound message X-Antivirus-Status: Clean Message-ID: <r0Bsm.41261$ze1.36543@news-server.bigpond.net.au> Date: Fri, 18 Sep 2009 01:04:23 GMT NNTP-Posting-Host: 58.169.183.46 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1253235863 58.169.183.46 (Fri, 18 Sep 2009 11:04:23 EST) NNTP-Posting-Date: Fri, 18 Sep 2009 11:04:23 EST Organization: BigPond Internet Services