FileDocCategorySizeDatePackage
QueryStringTest.javaAPI DocExample369Sun Dec 12 10:52:14 GMT 2004None

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);