look for "|cachingAllowed" in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
you can put this in TC_HOME/conf/context.xml Filip | steve sim wrote: > Hi everyone, > > I would appreciate if someone could help me in this problem. > Disable Tomcat from caching my xml file. > > I have a JSP page (Display.jsp) that retrieves a xml file an display the > content (using AJAX). > Then i clicked the page and goes to a servlet where I changed the xml content > (Element) and redirect back to > Display.jsp to showthe changes. > However, the page doesnt reflect the changes (suspect it still use the old > xml file) > > Why I suspect it uses Cache > - I have viewed the actual xml file in the directory, the content has changed. > - I try to create an identical Display.jsp (Display2.jsp) and make my servlet > to redirect to the Display2.jsp instead. > Display2.jsp would retrieve the xml and display it. But the changes still > doesnt show. It still use the old xml file. > > > I tried various way and check on the net, but still couldn't find any > solution. > > Thank you . > > Regards, > Steve > _________________________________________________________________ > Manage multiple email accounts with Windows Live Mail effortlessly. > http://www.get.live.com/wl/all > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]