Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

marquee class files

Posted on 1997-04-24
2
Medium Priority
?
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

670 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