tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santosh Kulkarni <sant_kulka...@yahoo.com>
Subject Re: Applet class not found error
Date Fri, 10 Jan 2003 13:27:41 GMT
Hi Andreas,
It worked when I put the class file under
webapps/examples/applets folder where my jsp was
located. By default it picks up from the current
folder and if we put it in some other folder, we need
to specify the codebase attribute too for the applet
tag.

Thanks
Santosh 

--- Andreas Probst <andpro77@gmx.net> wrote:
> Hi Santosh,
> 
> Tomcat won't serve the class files to the client, as
> it never 
> serves files below WEB-INF.
> Put your class files somewhere else, but not under
> WEB-INF. Then 
> it will work.
> 
> Andreas
> 
> 
> 
> On 10 Jan 2003 at 2:04, Santosh Kulkarni wrote:
> 
> > I'm getting the error "load: class DrawChart not
> > found" when running my applet over the network.
> But it
> > is perfectly loaded and running when I access it
> from
> > my localhost. I have my jsp under
> > webapps/examples/applets/test.jsp which has the
> > following applet code.
> > <applet code="DrawChart.class"
> > codebase="../WEB-INF/classes/" width="500"
> > height="100">
> > My DrawChart.java is under
> > webapps/examples/WEB-INF/classes. Is there
> anything
> > wrong in my codebase. Even without the codebase,
> the
> > applet runs fine on localhost but not from the
> > network. The same is the case even after giving
> > codebase. I'm not using any other class in the
> > DrawChart.java. Its a simple applet.
> > Please provide a solution.
> > 
> > TIA
> > Santosh
> > 
> > 
> > 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message