Hi Santosh,

true, but it must not be under WEB-INF.

Andreas


On 10 Jan 2003 at 5:27, Santosh Kulkarni wrote:

> 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to