FileDocCategorySizeDatePackage
disableCache.javaAPI DocExample492Thu Apr 03 15:26:14 BST 1997None

disableCache

public class disableCache extends Object

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


    URL u;
    URLConnection uc;

    try {
      u = new URL("http://www.ora.com");
      try {
        uc = u.openConnection();
        if (uc.getUseCaches()) {
          uc.setUseCaches(false);
        }
      }
      catch (IOException e) {
        System.err.println(e);
      }
    }
    catch (MalformedURLException e) {
      System.err.println(e);
    }