1.

Solve : little bit of confusion on jsp page cache?

Answer»

how the cache done for a jsp page or other dynamic page .....

i mean when i change the jsp page and then request for the jsp page with same query string then the updated version is shown on browser if the the browser window is a simple window.......

if i have that window as MODAL dialog box then the everytime the updated version is not shown .... how this happens .....

i am confused about it ..... plz help me


thanxxxxxxIt depends on the type of modal box you're generating.  The contents of the modal box may already have been DETERMINED by the time the parent window is loaded - so if you don't REFRESH the parent window, the contents of the modal box won't change.  This is not true for all modal boxes, but is true for MANY.  The answer to this is to use AJAX to generate the modal box's contents on the fly.r u sure that after refreshing the parent window the updated dialog box comes on....

one strange thing happens to me that in a browsing session the modal dialog box content comes through local cache ..... Quote

r u sure that after refreshing the parent window the updated dialog box comes on....
Without SEEING the page in question, or the underlying code, I can't be sure of anything.  I might be struggling anyway, since I'm a PHP man and have no exposure to JSP.ok sorryy.... i will test it again throughly then i will tell what happens to me


again i m sooorrryyyy.....thanx


Discussion

No Comment Found