Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

frames with servlets

 
ankur trapasiya
Ranch Hand
Posts: 160
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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.......

 
Pete Nelson
Ranch Hand
Posts: 147
Debian Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic