Re: Applet in C filesystem

"Fred" <beagle2-h4u632SxQnhWk0Htik3J/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Array

Tom,

I believe so.  I basically took the timeserver sample application that comes with the C libraries, and replaced index.html and source.html with my applet carrying index.html and the .class file that is the applet.  I just can't get it to work for some reason.
I know the applet works because I've tried it locally.
The applet seems to be getting to the host computer (maybe not in one single piece), but it just doesn't load.

Thanks 

Fred

----- Original Message -----
From: "Tom Blough" <[email protected]>
To: beagle2-h4u632SxQnhWk0Htik3J/[email protected], [email protected]
Sent: Tuesday, March 09, 2004 04:23 PM
Subject: [TINI]Applet in C filesystem

 Fred,
 
 Is the applet being served from the same web root as the webpage requesting
 it?  Sandbox restrictions prevent cross loading of applets.
 
 
 Tom Blough
 
 -----Original Message-----
 From: Fred [mailto:beagle2-h4u632SxQnhWk0Htik3J/[email protected]]
 Sent: Monday, March 08, 2004 6:27 PM
 To: tini-6tN4nzCoH/[email protected]
 Subject: [TINI]Applet in C filesystem
 
 
 CONSIDER ALL ATTACHMENTS AND LINKS IN THIS EMAIL POTENTIALLY HARMFUL
 Do not open attachments unless they are from a known sender and
 are EXPECTED.  If in doubt, call the sender before opening.
 
 ****************************************************************
 
 
 
 
 Hi all,
 
 I have tested the timeserver application (in C) and it works OK.  My problem
 is that I am trying to serve an applet from the web server in C.  For some
 reason, I can't get it to work.  The webpage load but the applet says
 'Applet notinited'.  When I open the webpage in its local folder, the applet
 loads fine.  
 I have monitored the network using a network tool, and can see the applet
 being sent from the TINI to the host. 
 My feeling is, that the .class file is being sent as an ascii file (either
 from the TFTP server to the TINI or from the TINI to the host computer, or
 both).  And this is causing the problem.  Any commernts about this?
 
 If I can't get it to work. I believe I can convert the .class file (or .jar
 file) into a hex file and flash it onto the board.  Then write some 8051
 code to execute this image.  But I do not know how to write the code to do
 this.  Any help will be greatly appreciated.
 
 Thanks
 
 Freddy
 
 FadMart - http://www.fadmart.com - An Associate of the World's Largest
 Store!
 _______________________________________________
 TINI mailing list
 TINI-6tN4nzCoH/[email protected]
 To UNSUBSCRIBE, edit your profile, or see list archives:
 http://lists.dalsemi.com/mailman/listinfo/tini
 Spam_Failed:None
 
 
 ****************************************************************
 
 Royal Precision, Inc.
 http://www.royalprecision.com
 (860)489-9254
 
 This email and any attachments are confidential and are intended
 solely for the use of the named addressee.  If you have received
 this email in error please contact Royal Precision, Inc.
 
 ****************************************************************

FadMart - http://www.fadmart.com - An Associate of the World's Largest Store!
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.