Markus -

I'm not sure, but I suspect this is what is happening.  The applet, which is
running in the browser, not the server, get's the class as defined in the
HTML from the jetspeed directory where you put it and where it's being
served by your web server.

The jetspeed/WEB-INF/classes area is where the server, jetspeed and your
portlets, can find classes.  This area is not made available to your applet,
which is running in the browser.

To get classes available to the applet, you could put them, with the applet
class, into a jar file, and make this jar file available to be served from
your web server (as your applet class file is now), and change your HTML to
get the applet from the jar instead of just a class file.

Hope this helps.

- Glenn
 
--------------------------------------------
Glenn R. Golden, Systems Research Programmer
University of Michigan School of Information
[EMAIL PROTECTED]               734-615-1419
http://www-personal.si.umich.edu/~ggolden/
--------------------------------------------


> -----Original Message-----
> From: Markus Strau� [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, April 24, 2002 2:29 AM
> To: [EMAIL PROTECTED]
> Subject: classnotfound
> 
> 
> I have a portlet to be displayed. within this portlet (either 
> webpageportlet or velocity) I have an applet. When I put the 
> applet.class in {jetspeed-home} directory, the applet runs 
> fine. So far, so hoopy. Now I want the applet to work with my 
> own classes, which lie in jetspeed/WEB-INF/classes/.... 
> (where they should be), but when I try to do so, the applet 
> comes up with a NoClassDefFound exception of my own class, 
> although it compiles with no problems. 
> Anybody any ideas? Or can anybody tell me, how to use in my 
> portlet the CodeBase parameter tags so that they could point 
> to the normal jetspeed/WEB-INF/classes/.... files?
> 
> tia
> 
> Mit freundlichen Gr��en / With best regards
> 
> Markus Strau�
> Softwareentwickler
> Krusche Lagertechnik AG
> Schrannenplatz 6
> 85435 Erding
> Tel.: 08122/18796-21
> Fax.: 08122/18796-50
> [EMAIL PROTECTED]
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to