tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From longinus <longi...@zeus.polsl.gliwice.pl>
Subject Re: Applets in Servlets
Date Tue, 06 Nov 2001 13:02:01 GMT
The following Applet tag is generated:

<applet mayscript codebase="." code="tcaldate.class" width="160"
height="170" name="tL1" id="tL1">

the applet class is in the %TOMCAT_DIR%/webapps/ROOT/tcaldate.class

and the adress of the servlet is http://myserver:port/servlet/app

Servlet generates the html page but the applet cannot be loaded.
but when requesting the page from the server then it works ok.

What should be in the codebase?

long

Barney Hamish schrieb:
> 
> It sounds like there is a problem in your HTML. Do a view source and see
> whether the HTML your servlet is generating is correct.
> Hamish
> 
> -----Original Message-----
> From: longinus [mailto:longinus@zeus.polsl.gliwice.pl]
> Sent: Tuesday, November 06, 2001 1:49 PM
> To: Tomcat Users List
> Subject: Re: Applets in Servlets
> 
> I have exactly the same problem, so if you find the solution, please let
> me know.
> 
> Shen Shengjun schrieb:
> >
> > Hi, there,
> >
> > I was trying to put some applets in a servlet page. The applet itself
> works
> > fine when resides in a html page. However, if I plug it into a servlet
> page,
> > the browser complains that the applet can't be loaded. I tried either the
> > class name itself or the class name with it's package qualifier.
> >
> > Does anybody here have experience on this? Or is this not worthy of trying
> > (I mean we all work on servlets...)?
> >
> > Thanks in advance for help me out.
> >
> > shen
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Find a job, post your resume.
> > http://careers.yahoo.com
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message