Re: XML file reloading in JSP (Caching issue)

2010-05-25 Thread Paweł Wielgus
ilto:patelsame...@yahoo.com] >> Sent: Monday, May 24, 2010 11:16 AM >> To: user@struts.apache.org >> Subject: Re: XML file reloading in JSP (Caching issue) >> >> >> Thanks for quick reply Brian.! >> >> I tried adding new timestamp as parameters which generates new

RE: XML file reloading in JSP (Caching issue)

2010-05-24 Thread Martin Gainty
> Date: Mon, 24 May 2010 08:40:39 -0700 > From: patelsame...@yahoo.com > To: user@struts.apache.org > Subject: RE: XML file reloading in JSP (Caching issue) > > > I just did. > > No luck. :-( > > Thanks for the idea. > > > sandeep.furia wrote: > >

RE: XML file reloading in JSP (Caching issue)

2010-05-24 Thread XML User
.com] > Sent: Monday, May 24, 2010 11:16 AM > To: user@struts.apache.org > Subject: Re: XML file reloading in JSP (Caching issue) > > > Thanks for quick reply Brian.! > > I tried adding new timestamp as parameters which generates new number > everytime I visit the pa

RE: XML file reloading in JSP (Caching issue)

2010-05-24 Thread sandeep.furia
how about if you change the location of the xml file, take it out of web-inf and put it under the context root? SDF/ -Original Message- From: XML User [mailto:patelsame...@yahoo.com] Sent: Monday, May 24, 2010 11:16 AM To: user@struts.apache.org Subject: Re: XML file reloading in JSP

Re: XML file reloading in JSP (Caching issue)

2010-05-24 Thread XML User
Thanks for quick reply Brian.! I tried adding new timestamp as parameters which generates new number everytime I visit the page. Even added those headers setting for no cache... Still it is not getting updated. Brian Thompson-5 wrote: > > What extra parameters have you added to the reques

Re: XML file reloading in JSP (Caching issue)

2010-05-24 Thread Brian Thompson
What extra parameters have you added to the request? AFAIK the standard solution to this type of "improper caching" problem is to simply append a random number or a timestamp to the request URL. It's an ugly hack, but it does work even when the headers don't seem to do the trick. Of course, the

XML file reloading in JSP (Caching issue)

2010-05-24 Thread XML User
Hi, I am running into an issue of caching. I have a jsp which generates the tree view from an XML file. This XML file are loaded when the jsp is loaded. So whenever I add new child to the tree view the xml file is updated by action class and the request reloads the jsp page which in turns reloa