The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

JWS2.0 problem

Posted by G.Salai Sivamal on June 04, 2001 at 6:49 AM

> how can i connect to javawebserver2.0 by a single button click in a java programe?Any idea! please mail me


I guess y asking about making socket connection with JWS2.0.
If it is correct, read the follow..

Add an actionListener to the Button..and write the method actionPerformed..so, whenever y clicking the button that method will get called, on that make Socket object..with IP address, where the JWS running and port no:80

regs
Salai Sivamal.G





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us