Solved

Applets in NetObjects Fusion 3.0

Posted on 1998-07-09
5
250 Views
Last Modified: 2010-04-16
I'm trying to insert Java Applets into my NetObjects Fusion site.  Using Win98.  I've downloaded the .class files and HTML, but I can't understand EXACTLY how to put it all together.  Fusion is vague on the HTML insertions.  I can simply put the java applet on the page, but adding the HTML is a mystery.  Also, what directory structure do I use for my java files?  This is my first experiment with java, and I'd appreciate any patient help.
0
Comment
Question by:clancyo
  • 3
5 Comments
 
LVL 5

Expert Comment

by:msmolyak
ID: 1225609
The idea is simple: the browser which runs on the client accesses an HTML page from an HTTP server which contains an APPLET tag. That tells the browser (if it is Java enabled as all popular browsers) to load an applet. Applet is a Java class which extends java.applet.Applet. It is an entry point for the browser (similarly to Java class with main() routine being an entry pount for standalone Java VM). The applet class can use many more classes to aid it in execution.

The browser searches for an applet class using: its in-memory cache, local classpath, archive using ARCHIVE component of an APPLET tag and classes using CODEBASE component of the APPLET tag (I think in that order). Thus if your applet uses java.util.Vector, the browser will use its local copy (the standard Java lib comes with the browser). However your applet probably does not exist on the client so it has to find and download it from the HTTP server.

If your applet and its supporting classes are in a JAR file, use ARCHIVE tag to indicate its location on your Web server. If you class files are in directory structure use CODEBASE tag which is very similar to CLASSPATH for application only points to the directories on the server, not local machine.

Example (this should be in your HTML file which starts the applet):

<APPLET CODE="myApplet.class" WIDTH=100 HEIGHT=200> CODEBASE=applets ARCHIVE=/applets/myArchive.jar>

Based on this tag the the browser will look for applet myClass.class in directory applets (I thing this is relative to the directory where HTML file is unless you indicate the absolute path).
0
 
LVL 1

Author Comment

by:clancyo
ID: 1225610
Although your response was very educational, it doesn't address my specific problem; that is, in NetObjectsFusion, version3.0, what are the specifics of HTML insertions.  Fusion has a GUI which, while it looks good, doesn't make it easy to insert HTML directly (and error-free), at least for this novice.  If you don't use Fusion, I don't think you can answer my question. Respects, Clancy
0
 
LVL 1

Author Comment

by:clancyo
ID: 1225611
No answer seems forthcoming, so I'm withdrawing the question.  I'm using a workaround by creating separate pages with JAVA applets and linking to them from my site.  Inserting JAVA directly into preformatted sites doesn't seem to be a basic NetObjects Fusion function.  Think I'll try Sausage's new HotDog Pro 5 for a while.  Thanks Anyway, kids.  Clancy
0
 
LVL 1

Author Comment

by:clancyo
ID: 1225612
DELETE QUESTION
0
 
LVL 3

Accepted Solution

by:
sailwind earned 100 total points
ID: 1225613
In order to delete a question, you should go to expert's exchange
topic area and request them to delete this question. Make sure
that you let them know the question number this refers to.
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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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.

914 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

21 Experts available now in Live!

Get 1:1 Help Now