java applet does'nt load without a refresh

S

shwetha

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
 
R

Roedy Green

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?
 
A

Andrew Thompson

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).
 
H

HalcyonWild

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.

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">
 
S

shwetha

HalcyonWild said:
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">

Hi HalcyonWild....thanks for your response. I tried the option what you
have mentioned. Still its not working..

-shwetha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top