W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1998

Sending an applet

From: Adel Ghlamallah <aghlamal@crim.ca>
Date: Sun, 16 Nov 1997 13:50:58 -0500
Message-ID: <346F4091.C8A72E43@crim.ca>
To: "www-jigsaw@w3.org" <www-jigsaw@w3.org>
Hi

I am new in servlets. I want my servlet to send html page within an
applet, how can achieve this?
I tried this :
res.setContentType("application/octet-stream");
...
out.println(" <APPLET CODE=" + AppletName + " WIDTH=150 HEIGHT=150> ");

but it doesn't work .

thanks

Adel
Received on Monday, 16 February 1998 13:46:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:32 UTC