Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

java applet does'nt load without a refresh

Thread view: 
shwetha@signal-networks.com - 08 Nov 2005 05:24 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.