GET URLs

String eqs =  "Author=" + URLEncoder.encode("Sadie, Julie");
 eqs += "&";
 eqs += "Title=";
 eqs += URLEncoder.encode("Women Composers");
 try {
    URL u = new URL("http://www.superbooks.com/search.cgi?"  + eqs);
    InputStream in = u.openStream();
    //...
 }
 catch (IOException e) { //...


Previous | Next | Top | Cafe con Leche

Copyright 1999, 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified July 14, 2000