tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S.Z...@spmv.de
Subject AW: Problem with applet
Date Tue, 22 Aug 2000 15:21:56 GMT
Hi,

try to use only:

<APPLET CODE="myApplet" CODEBASE="/myapp" WIDTH="100" HEIGHT="75"></APPLET>

HTH,

Stephan

> Hi all,
> 
> Tomcat with apache.
> I have a web application with a servlet (in the myapp/WEB-INf/classes/
> directory)
> that calls an applet (in the myapp directory).
> When the servlet works, I receive the message:
> Applet ../myApplet class ..myApplet could not be loaded (in 
> my browser)
> 
> And in the error_log of apache I receive the error message following:
> File does not exist: /usr/local/apache/htdocs/myApplet.class
> 
> In fact, the sever is looking for myApplet in the
> /usr/local/apache/htdocs directory !!
> 
> In my servlet code I have:
> out.println("<APPLET CODE=myApplet width=100 height=75>");
> out.println("</APPLET>");
> 
> And even if I do:
> out.println("<APPLET CODE=myApplet CODEBASE=$TOMCAT_HOME/webapps/myapp
> width=100 height=75>");
> out.println("</APPLET>");
> 
> that's don't work...
> 
> Please help me, I can't make it out !
> Thanks in advance
> -- 
> "Il n'y a pas d'etrangers, seulement des amis qu'on n'a pas 
> rencontres."
> (Proverbe irlandais).
> 
> Jean Michel Flambard
> jmflamba@club-internet.fr
> http://www.multimania.com/jmflambard
> 

Mime
View raw message