On Wed, 19 May 1999, Igor Belousov wrote:

> Dear colleagues,

Use "resource:filename.tcl" and put the .tcl file inside of
a jar file. I have not tried it myself but I think it works.

> I've developed with Jacl an applet with tcl-shell. If it is possible to
> invoke inside this applet shell some Tcl scripts? How to do this, if
> yes? I tried to use "source somefile.tcl" command, but received each
> time
> "couldn't read file "somefile.tcl".

Both Netscape and MS have broken Java implementations. I hear Mozilla
will fix this by using Sun's JDK directly from the web browser but
other than that I am not sure what you can do to work around this.

later
mo

> Moreover, when I start my applet with appletviewer there are no
> problems. But when I try to start applet within Netscape Navigator,
> after invoking code:
> 
> __interp = new Interp();
> 
> I receive the message in Java console:
> 
> evalResource: Ignoring SecurityException, it is likely we are running in
> an applet: cannot read resource
> "/tcl/lang/library/java/javalock.tcl"netscape.security.AppletSecurityException:
> security.checkResourceAccess
> 
> evalResource: Ignoring SecurityException, it is likely we are running in
> an applet: cannot read resource
> "/tcl/lang/library/init.tcl"netscape.security.AppletSecurityException:
> security.checkResourceAccess
> 
> After applet can start and work, but, nevertheless, how to fix this
> problem?
> 
> I use jdk1.2, Jacl 1.1.1, Netscape Navigator 4.5, Windows NT 4.0 Service
> Pack 3.
> 
> Thanks in advance, regards
> 
> Igor Belousov
> De Montfort University, Milton Keynes, U.K.
> 
> 
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by WebNet Technologies.
> To subscribe:    send mail to [EMAIL PROTECTED]  
>                  with the word SUBSCRIBE as the subject.
> To unsubscribe:  send mail to [EMAIL PROTECTED] 
>                  with the word UNSUBSCRIBE as the subject.
> To send to the list, send email to '[EMAIL PROTECTED]'. 
> A list archive is at: http://www.findmail.com/listsaver/tcldallas/
> 

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to