Solved

marquee class files

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 2 42
scoresSpecial  challenge 13 42
firstChar challenge 13 85
Java array passed to SQL where clause 23 43
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

762 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

18 Experts available now in Live!

Get 1:1 Help Now