Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please Help ! Applet to Servlet : Content is not updated? Suspect browser cache

 
Ken Flor
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

please help me. I am desperate now.. sigh..

I use getAppletContext from my applet invoke doGet from my servlet.

I manage to send some parameters from applet to my servlet, and this calls doPost.

However as doGet is executed first, the content displayed does not output the parameters I get from my applet. After doPost is executed, I want to write my parameters to the browser. However the browser does not display the latest content. Only when I refresh, then the content is updated. Is it due to cache?

Please help!

Thanks!
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The page that contains the applet won't change, no matter what happens on the applet/servlet connection. You can use the AppletContext.showDocument method to reload the page.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic