Solved

marquee class files

Posted on 1997-04-24
2
311 Views
Last Modified: 2008-03-03
Where do the class files go? Also where do the text files go that act as a data source for the marquee?  I cannot, for the life of me, figure it out.  I currently have all the files for running a marquee residing on my PC.  Marquee does not work.  I've had everything from: "applet cant start: Class Marquee not found"; applet can't start: Class Marquee got a security violation:  method verification error; to this one:  "ClassNotFoundException" -- all the while I'm  moving the class file (or files) around -- but not up to my ISP's server.

I'd really appreciated getting an answer to this one!

Very Respectfully,

Gary Oxner
0
Comment
Question by:oxnerg
2 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 50 total points
ID: 1219856
Regarding the text files, that depends on the code for the specific marquee that you are using (do you have the code or only the .class files).

Regarding the .class files:

You must place them on the directory specified by your APPLETE  tag in the HTML file.

 If the marquee uses a package, the classes must be placed in the directories indicated by each fully qualified class. I.e: MyPackage.Marquee.Display would go in the subdirecory called MyPackage/Marquee/Display (change the dots to slashes). The root for the package directories is usulay under the directory where the applete is (but can also be places in CLASSPATH if the applete is running only on the same box as the web server).

Additionaly to all of this, the path for the applete must be specified relative to the web host root directory, not the systems directory. For instance, under website,  www.mydomain.com/marquee/marquee.class would exist under the physical directory C:\WebSite\htdocs\marquee\marquee.class.

So, to recap, say your marquee uses a package called MyPackage that contains to classes:DisplayMarquee.class and ReadText.class . Is called marquee.class and will run on an ISP called MyISP in the user directory mydir on a unix host.

The hosts user partition will be called, say, home, therfore you would have your files in:

/home/mydir/marqueepage.html  for the page that calls the applete
/home/mydir/marquee/marquee.class for the applete itself
/home/mydir/marquee/otherNonPackageClasses.class
/home/mydir/marquee/MyPackage/DisplayMarquee/DisplayMarquee.class
/home/mydir/marquee/MyPackage/ReadText/ReadText.class

and your applete tag would the refer to:

http://www.myISP.com/myDir/marquee/marquee.class


This of course assumes that the ISP's web host is actualy using the directory called home as its  web root.

(Note: directoriy structure will change if you are using virtual servers)

In order to experiment, you mighr want to download either O'Rielleys shareware web server (Website) from http://www.ora.com or (If your running on NT and have 32Megs of RAM) Microsofts IIS trial version. They both support either standard and/or virtual serving capabilities and give you at least 30 days to fool arround.

0
 

Author Comment

by:oxnerg
ID: 1219857
Thanks for the very speedy turn on my question.  I really appreciate the detail in answering plus the additional information about obtaining WebSite.

Now, I feel I can approach the problem with a much higher degree of confidence that I'll get it right the first time (or there abouts).

Since I'm in a situation where I need answers "now" -- your service has certainly done that -- actually surpassed what I had expected.

Job Well Done!

Thank You Very Much,

Very Respectfully,

Gary Oxner
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

829 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