Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: JDeveloper3.1 Applet in Web page
Are your classes in packages, ie do they include 'package' at top of the source? If they do then you should put the classes into a directory path corresponding to the package name. So, if the base dir is 'base' and the package for 'MyClass' is 'com.dunno', then you have the following:
/base/com/dunno/MyClass.class
Hope this helps, let us know how you get on.
Andre
In article <8pj31p$5rp$1_at_moonbeam.aecom.yu.edu>,
"Brian" <bshan_at_ymail.yu.edu> wrote:
> Hi. I am playing with Jdeveloper3.1.
> I have developed a small applet using jTree and few of my own classes.
> The main .class file is called navtree.class.
> The applet works fine in the applet viewer.
> When I use the default html page that jdev creates via the project
wizard,
> the web page says that it can't find the class navtree. I tried
moving the
> class files and the web page into the same directory, and I get trhe
same
> results.
> I have played with the CODEBASE parameter (the default is ".."),
including
> eliminating it when everything is in one directory but no luck. I
have put
> everything into a .jar file, but then nothing happens.
>
> I have tried to put everything on my web server instead of just on my
pc,
> but I still get the same "class not found".
>
> This makes no sens to me especially if everything is in the same
directory.
>
> Any help would be appreciated!
> brian_at_techcat.com
>
>
-- http://www.bigfoot.com/~ajmas/ Sent via Deja.com http://www.deja.com/ Before you buy.Received on Mon Sep 11 2000 - 17:20:16 CDT
![]() |
![]() |