[AWS] Applet error
Dmitriy Anisimkov
anisimkov@omsknet.ru
Wed, 12 Nov 2003 09:02:36 +0600
Francisco Sanchez wrote:
> Hello, I am doing a web server with AWS and my pages have an applet
> inside. When the client open a page served by my aws server, the
> applet get the next error: "Exception: java.lang.ClassFormatError:
> my_applet (Bad magic number)". This error is produced when the file
> which contains the applet has been sent from server to client in ascci
> mode insted of binary mode. Does AWS support the binary mode to send
> files? Does AWS has been tested with applets? Am I doing anythig bad?
HTTP protocol does not have difference between binary and text mode in
the data stream format.
What AWS version do you use ?
I remember that some early AWS version has a problem with applet loadings.
Last published AWS 1.3 should work correctly with it.
I'm loading Java applets thru AWS in the production servers. See
http://64.247.48.182:8110/run?entry=demo.20&db=middle_entries&namespace=TRADING