[AWS] Java applets requests
Pascal Obry
pascal at obry.net
Mon Jun 11 19:57:24 CEST 2007
Sita,
> I want to put a java applet in my HTML-file with the applet-tag.
>
> <applet code="/applet" width="200" height="100">
>
> But I don't know how the request for the AWS must look like. I tried it
> with this:
>
> ...
> elsif URI = "/applet" then
> return AWS.Response.Build (AWS.MIME.Application_Octet_Stream,
> "AppletWarning.class");
AppletWarning.class is a file so you need to return a file here. This
should be something like this:
elsif URI = "/applet" then
return AWS.Response.File (AWS.MIME.Application_Octet_Stream,
"AppletWarning.class");
> What am I doing wrong? Is it generally possible to work with java
> applets and the AWS?
Yes it should. AWS does nothing special.
> I appreciate your help. :)
You're welcome :)
Pascal.
More information about the AWS
mailing list