Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: returning values from with-java-applet: msg#00001

Subject: Re: returning values from with-java-applet
>>>>> On Mon, 01 Mar 2004 13:55:35 -0800, "Ben Olasov" 
>>>>> <olasov@xxxxxxxxxxxxxxxxx> said:

  Ben> Is there a way to launch a java applet from with-java-applet, 
  Ben> collect several strings in the applet's input fields and return
  Ben> them to the Lisp environment?  I've looked at the twistdown-tree 
  Ben> example and don't find in it a way of doing this (which may be 
  Ben> my fault).  If with-java-applet isn't the right approach for this,
  Ben> are there other ways (perhaps jlinker?) that someone could
  Ben> recommend?    The Lisp/OS/hardware environment
  Ben> for this is ACL 6.0/Solaris 8/Sun Blade 2000.

  Ben> Any suggestions would be appreciated.

AFAIK, you can't directly return strings from a Java applet.  Instead, you
need to make the applet request a new document from the server, passing the
data in some form such as an encodes URL.

Google for showDocument for examples.

__Martin



<Prev in Thread] Current Thread [Next in Thread>