Currently I am developing a online shop which helps in user buying different products.
I have a main template which is common to all the pages. This template includes header, footer, main contents dynamically at run time based on conditions.
The header and footer files are stored as html files and sometimes their contents will be updated dynamically by other programs.
I expect the changes to header and footer to be reflected in the pages whenever its been changed, but its not happening currently. I've to restart the application everytime to make the new changes appear in the pages.
Can someone explain this behaviour and is there any workaround to this problem ?
Thanks for your reply. I tried using <%@ import %> tag and still the result is same.
Also after using the import tag and updating the timestamp of the main_template.jsp page, I had a check at the generate servlet class file and it contains the modified HTML data. But the same is not been reflected in the pages.
I tried clearing off the cache, cookies and other things. But none of it worked, it looks like caching issue in server side. Any suggestions to overcome this is well appreciated