You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Web Master <we...@unni.com> on 2000/12/15 02:24:16 UTC

Servlet is not running!

Hello,

I asked this question before, if anyone answer this question ?

I have servlet which int runs calls an applet. Everything works fine
except that, when I run, the applet is not running, it comes back and
says applet not found.

I have a context entry for the project in the server.xml

Do I have to do anything special to start the applet?

Thanks in advance


default servlet

Posted by Craig May <cr...@s2.enthdimension.com.au>.
Hi,

Does anyone know how to setup tomcat to use a servlet by default.  I'm not
using tomcat in conjunction with apache http.

Regards,
Craig May

Enth Dimension
http://www.enthdimension.com.au

Re: Servlet is not running!

Posted by William Brogden <wb...@bga.com>.
Probably your problem is that browser is requesting the applet
class files from the wrong place. It is using the apparent
servlet address. This also interferes with loading images,
sounds, etc.

Put a <base href="urlForTheAppletClassesDirectory" >
tag in the <head> .. </head> region of the page you are
generating.


Web Master wrote:
> 
> Hello,
> 
> I asked this question before, if anyone answer this question ?
> 
> I have servlet which int runs calls an applet. Everything works fine
> except that, when I run, the applet is not running, it comes back and
> says applet not found.
> 
> I have a context entry for the project in the server.xml
> 
> Do I have to do anything special to start the applet?
> 
> Thanks in advance

-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2