Hi,
I have installed java for linux m/c. I have done all the
browser settings necessary to load an applet and I have written an
applet which works fine in windows and in linux it loads but need to be
refreshed several times. Sometime it loads without a refresh but
sometime got to refresh again and again. I'm really fedup of finding a
solution for this. Can anyone please help me in this regard? What
should I do to make it work properly. Does I have to change any browser
settings. I'm using Konqueror web browser which comes with the Redhat
linux.
Thanx in advance
-Shwetha
Roedy Green - 08 Nov 2005 05:33 GMT
On 7 Nov 2005 21:24:54 -0800, "shwetha@signal-networks.com"
<shwetha@signal-networks.com> wrote, quoted or indirectly quoted
someone who said :
>I have done all the
>browser settings necessary to load an applet and I have written an
>applet which works fine in windows and in linux it loads but need to be
>refreshed several times.
What is a refresh?
What does the console say?
Can we please look at your code?

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Andrew Thompson - 08 Nov 2005 05:53 GMT
> I have installed java for linux m/c. I have done all the
> browser settings necessary to load an applet
URL? Where can we see it?
>..and I have written an
> applet which works fine in windows and in linux it loads but need to be
> refreshed several times.
That does not sound 'fine' to me.
> ...Does I have to change any browser settings.
It sounds more like the code needs changing, but let's
see the applet at it's URL first (though you might also
link to the code, to make things easier).
HalcyonWild - 08 Nov 2005 09:34 GMT
> Hi,
>
[quoted text clipped - 4 lines]
> sometime got to refresh again and again. I'm really fedup of finding a
> solution for this.
Did you try this in your html which hosts the jsp. Put this in the head
section.
<meta http-equiv="Cache-Control" Content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
shwetha@signal-networks.com - 08 Nov 2005 12:03 GMT
> > Hi,
> >
[quoted text clipped - 11 lines]
> <meta http-equiv="Pragma" content="no-cache">
> <meta http-equiv="Expires" content="0">
Hi HalcyonWild....thanks for your response. I tried the option what you
have mentioned. Still its not working..
-shwetha