Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > java applet does'nt load without a refresh

Reply
Thread Tools

java applet does'nt load without a refresh

 
 
shwetha@signal-networks.com
Guest
Posts: n/a
 
      11-08-2005
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

 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      11-08-2005
On 7 Nov 2005 21:24:54 -0800, ""
<> 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?
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      11-08-2005
wrote:

> 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).
 
Reply With Quote
 
HalcyonWild
Guest
Posts: n/a
 
      11-08-2005

wrote:
> 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">

 
Reply With Quote
 
shwetha@signal-networks.com
Guest
Posts: n/a
 
      11-08-2005

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


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

-shwetha

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: how load properites files to applet without signed... markspace Java 0 07-06-2009 02:36 PM
Java Applet loading in Applet Viewer but not in HTML page Archana Java 1 10-24-2004 11:41 PM
Java applet failed when I try to load the avi file in my java applet Krista Java 3 09-15-2004 02:53 AM
How do i refresh a datagrid from a pop up window without having to refresh the whole page? Pkenty ASP .Net Web Controls 0 05-28-2004 07:06 AM
Re: play wave files using java.applet.Applet webster Java 0 07-20-2003 01:51 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57