• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

frames with servlets

 
Ranch Hand
Posts: 160
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

I am developing a mini project and in it i have separated my page parts into frames e.g for header,for menu, for content and for footer

now i have set servlets as source in this parts and it is shown properly when i run this website..

now what i want is i want to change menu part at runtime .. e.g after login i want to make link as log out ..

but when i debug the project it never goes into menu servlet second time.......

 
Ranch Hand
Posts: 147
Eclipse IDE Tomcat Server Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

but when i debug the project it never goes into menu servlet second time.......



I am not 100% sure I am following your question, but because you mention the menu not reloading a second time, is it possible your issue is browser cache?

If that is the case, you can instruct the browser NOT to cache with HTTP 1.0's "Pragma: no-cache" and HTTP 1.1's "Cache-Control: no-cache" headers:



More information on HTTP cache control can be found at http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 and http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.32

 
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic