tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Goss <>
Subject Re: calling an applet from within a servlet.
Date Mon, 25 Sep 2000 13:27:39 GMT
Actually that won't work. You need to put it anywhere under in the
"webapps/<contextname>/" except under the WEB-INF dir. I suggest using the full
URL at first to call it. ie:
you have applet (myapplet.class) under "webapps/mycontext/applets/" dir, and
your servlet (located somewhere under WEB-INF dir) will pass off an HTML page
calling the applet like this:
<applet code="myapplet.class"
</body></html> wrote:

> try the servlets directory
> -----Original Message-----
> From: ashok v. shah []
> Sent: Monday, September 25, 2000 6:14 AM
> To:
> Subject: calling an applet from within a servlet.
> hi there..
> i am generating an html page with a servelt.. and want that page to load an
> applet. but the messge which i am getting is .class file(of the applet which
> i am trying to load) not found. i have tried placing that .class file in
> many different directories of the java web server but in vain. so i would be
> obliged if you can help me out of this problem..
> waiting for a reply..
> thanking you.
> ashok
> _________________________________________________
> Get Your Free Email At,
> For fabulous shopping deals visit:

View raw message