Re: returning values from with-java-applet

Martin Simmons <[email protected]> Tue, 2 Mar 2004 16:41:24 GMT
Newsgroups gmane.lisp.cl-http
Message-ID <[email protected]>
>>>>> On Mon, 01 Mar 2004 13:55:35 -0800, "Ben Olasov" <[email protected]> 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