devxlogo

October 13, 2005

Send and Recieve Messages Using a CGI Java Application

The following code shows you how to send and receive CGI messages from a Java application: import java.net.*;import java.io.*;class POSTrequest{URL url=null;URLConnection URLcon=null;OutputStreamWriter OSW=null;BufferedReader BR=null;PrintStream PS=null;public void GetReady() { try {