# a cgi script being called from within a java applet
# this illustartes just a part of the program to give you an idea how to do it
# not a complete program and will not compile as is
 

Applet father;
String
address="http://lincsun03.cacs.louisiana.edu/cgi-bin/raghavan/linc-projects/cs3_exp/in
ter.cgi?";
String frame="_blank"; // Open URL in new window everytime (compatible)
String querystring = "a=b&c=d";

try {
    URL searchURL=new URL(address+querystring);
    father.getAppletContext().showDocument(searchURL,frame);

} catch(MalformedURLException e) {
    System.out.println("error " + e);
} catch(IOException e){
    System.out.println("error " + e);
};
--