I'm not sure I correctly understand the problem anymore, but this might
be relevant:
Can't you let the JPEG servlet indicate that its output should not be
cached? I use this code to disable various cache mechanism:
private void setNoCache(HttpServletResponse resp) {
On Jan 20, 2006, at 6:28 AM, Jeroen van der Vegt wrote:I'm not sure I correctly understand the problem anymore, but this might be relevant:Can't you let the JPEG servlet indicate that its output should not be cached? I use this code to disable various cache mechanism: private void
Clay Leeds wrote:
On Jan 20, 2006, at 6:28 AM, Jeroen van der Vegt wrote:
I'm not sure I correctly understand the problem anymore, but this
might be relevant:
Can't you let the JPEG servlet indicate that its output should not be
cached? I use this code to disable various cache mechanism:
On Jan 20, 2006, at 9:22 AM, Glen Mazza wrote:
Clay Leeds wrote:
I understood the OP (pasted at the bottom of this msg) to mean
there is a caching problem with the JPEG image of each chart.
Are you sure? The proxy/client is getting only a PDF document
(MIME type application/pdf), no
Jeremias Maerki wrote:
On 18.01.2006 09:44:57 Chris Bowditch wrote:
vijay visu wrote:
snip/
These servlets should be called for each PDFs
generated since each chart will be unique.
My problem is that the servlets which builds the
dynamic charts are called
for the first time only. On the
On Jan 19, 2006, at 10:30 AM, Glen Mazza wrote:
Jeremias Maerki wrote:
Or you need to simply make sure that the URLs are unique. You can
use a
dummy parameter in the URL to fake uniqueness:
http://localhost/MyChartServlet?dummy=1234
Hmmm...my guess is that for any servlet-related problem
Clay Leeds escribió:
On Jan 19, 2006, at 10:30 AM, Glen Mazza wrote:
Jeremias Maerki wrote:
Or you need to simply make sure that the URLs are unique. You can use a
dummy parameter in the URL to fake uniqueness:
http://localhost/MyChartServlet?dummy=1234
Hmmm...my guess is that for any
hi
i am doing a code which generates the PDF in a batch
process.
These PDFs include dynamically built charts by
servlets.
I am making use of external-graphic tag to pick the
images.
These servlets throw jpeg image of the charts in the
output stream.
These servlets should be called for each
vijay visu wrote:
snip/
These servlets should be called for each PDFs
generated since each chart will be unique.
My problem is that the servlets which builds the
dynamic charts are called
for the first time only. On the subsequent calls the
old charts are
only built in PDF and the servlets
On 18.01.2006 09:44:57 Chris Bowditch wrote:
vijay visu wrote:
snip/
These servlets should be called for each PDFs
generated since each chart will be unique.
My problem is that the servlets which builds the
dynamic charts are called
for the first time only. On the subsequent
Instead of running just the servlet, can you also pass
a unique number/string along with the servlet which
makes it a unique call.
eg. instead of using ChartServlet maybe you can use
ChartServlet?id=unique_id
where unique_id is different for each image.
The charts are probably being cached.
11 matches
Mail list logo