Solved

marquee class files

Posted on 1997-04-24
2
310 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 97
Java Jpanels and Jframe 8 33
github account with ecipse 1 48
session migration servlets 2 38
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

821 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