i`ve tried putting the applet class file in the same directory as
i`ve put the compiled servlet(.class) that calls the applet.but the servlet is running well but applet is not called(initialized).
please respond quickly.
[This message has been edited by abj (edited June 28, 2000).]
<base href="http://url/rootdir/" >
<base href="/rootdir/" >
BASE tags go in the <head> </head> area.
try it this way
use codebase attribute in <applet> tag
in your servlet code write
out.println("<appletcode=xyz.class codebase=http://...... width=300 height=300>");
Originally posted by gparan:
My Question is when servlet call and applet like this
out.println("<applet code=xyz.class codebase=http://..... width=200 height=400></applet>")
this is work?? if yes kindly tell me where the xyz.class should placed or how should i call an applet class in servlet??