*BSD News Article 77597


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!lynx.aba.net.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!imci4!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!cs.tu-berlin.de!curie!eserte
From: eserte@cs.tu-berlin.de (Slaven Rezic)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Netscape 3.0 doesn't reload .class file even recompiled
Date: 03 Sep 1996 11:27:39 GMT
Organization: Fachbereich Informatik, Technische Universität Berlin,
	Deutschland
Lines: 33
Message-ID: <ESERTE.96Sep3132739@curie.cs.tu-berlin.de>
References: <5063bp$n7c@chenab.lums.edu.pk>
NNTP-Posting-Host: curie.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
In-reply-to: aslam@lums.edu.pk's message of 30 Aug 1996 11:56:57 +0500

In article <5063bp$n7c@chenab.lums.edu.pk> aslam@lums.edu.pk (Sohail Aslam) writes:

> 
> 
> I wrote the hello world applet and viewed it with Netscape 3.0 on a 
> FreeBSD machine running Xwindows. The applet runs fine and prints
> "Hello World". I then went back and changed the string to "Hello Java World",
> recompiled the .java file using kaffe on the FreeBSD machine and told
> Netscape to reload the html file containing the applet. When it did, 
> I saw the "Hello World" string and not the new one. I cleared the disk
> and memory cache and reloaded but the old string shows up. I changed the
> file name of the .class file, made the corresponding change in the .html
> file, and only then did the new string show up. Another way is to quit
> netscape and launch it again.

Or another workaround: define some aliases for your hostname. Then try
loading your applet with all the hostnames:
	localhost
	localhost:80
	yourhostname
	yourhostname:80
	yourhostname.yourdomain
	yourhostname.yourdomain:80
and so on ...

Gruss,
	Slaven

-- 
Slaven Reziæ (Tomiæ)          IPA: /'slavEn 'Re:ziC 'tOmIC/
  e-mail: <URL:mailto:eserte@cs.tu-berlin.de>
  WWW:    <URL:http://www.cs.tu-berlin.de/~eserte/>
  Accept-language: de;q=1, hr;q=0.97, en;q=0.9, fr;q=0.2