URLDecoder Class

String input 
 = "http://www.altavista.com/cgi-bin/query?"
 + "pg=q&kl=XX&stype=stext&q=%2B%22Java+I%2FO%22&search.x=38&search.y=3";
 try {
  String output = URLDecoder.decode(input);
  System.out.println(output);
 }

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified October 26, 2000