You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peng Frank <Fr...@UEStamp.com> on 2000/05/03 21:45:15 UTC
Helloworld for Tomcat talking to Applet.
Hi, every budy!
I am very happy with Tomcat but I don't know how to let Applet and Tomcat
talk each other.
I am an old man with Perl CGI and JavaScript. I have no experience with
Tomcat.
If any body can provide a free example of a HelloWorld of Tomcat talk to
Applet. That will be great!
Thanks a lot!
Frank Peng
Re: Helloworld for Tomcat talking to Applet.
Posted by "Dr. Martin Menzel (FB Physik, Uni Kaiserslautern)" <me...@physik.uni-kl.de>.
Hi,
I did this by creating a thread which implements a serversocket and a
listener.
In the applet you can communicate via a socket (with a special port) to the
serversocket. The Appletcodebase has to be on the same server as tomcat.
I can mail you more details later.
In "Java Programmierhandbuch" from Stefan Mittendorf, Reiner Singer
[dpunkt.verlag]
are more explanations. See www.dpunkt.de/java
Cheers ....Martin
----- Original Message -----
From: "Peng Frank" <Fr...@UEStamp.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, May 03, 2000 9:45 PM
Subject: Helloworld for Tomcat talking to Applet.
> Hi, every budy!
>
> I am very happy with Tomcat but I don't know how to let Applet and Tomcat
> talk each other.
>
> I am an old man with Perl CGI and JavaScript. I have no experience with
> Tomcat.
>
> If any body can provide a free example of a HelloWorld of Tomcat talk to
> Applet. That will be great!
>
> Thanks a lot!
>
> Frank Peng
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
Re: Helloworld for Tomcat talking to Applet.
Posted by David Eisner <cr...@Glue.umd.edu>.
There's a pretty good article on Servlet/Applet communication here:
http://www.sys-con.com/java/archives/0309/darby/
(Java Developer's Journal Volume 3, Issu 9 )
-David
On Wed, 3 May 2000, Peng Frank wrote:
> Hi, every budy!
>
> I am very happy with Tomcat but I don't know how to let Applet and Tomcat
> talk each other.
>
> I am an old man with Perl CGI and JavaScript. I have no experience with
> Tomcat.
>
> If any body can provide a free example of a HelloWorld of Tomcat talk to
> Applet. That will be great!
>
> Thanks a lot!
>
> Frank Peng
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>
-----------------------------------------------------
David Eisner | E-mail: cradle@eng.umd.edu |
CALCE EPSC | Phone: 301-405-5341 |
University of Maryland | Fax: 301-314-9269 |
-----------------------------------------------------