Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

marquee class files

Posted on 1997-04-24
2
Medium Priority
?
318 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 100 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

782 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