FileDocCategorySizeDatePackage
QueryStringTest.javaAPI DocExample355Sat Sep 09 19:54:36 BST 2000None

QueryStringTest

public class QueryStringTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    QueryString qs = new QueryString("pg", "q");
    qs.add("kl", "XX");
    qs.add("stype", "stext");
    qs.add("q", "+\"Java Network Programming\"");
    String url = "http://www.altavista.com/cgi-bin/query?" + qs;
    System.out.println(url);