Re: Dynamic charts issues in batch PDF generation

2006-01-20 Thread Jeroen van der Vegt
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) {

Re: Dynamic charts issues in batch PDF generation

2006-01-20 Thread Clay Leeds
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

Re: Dynamic charts issues in batch PDF generation

2006-01-20 Thread Glen Mazza
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:

Re: Dynamic charts issues in batch PDF generation

2006-01-20 Thread Clay Leeds
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

Re: Dynamic charts issues in batch PDF generation

2006-01-19 Thread Glen Mazza
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

Re: Dynamic charts issues in batch PDF generation

2006-01-19 Thread Clay Leeds
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

Re: Dynamic charts issues in batch PDF generation

2006-01-19 Thread Glen Mazza
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

Dynamic charts issues in batch PDF generation

2006-01-18 Thread vijay visu
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

Re: Dynamic charts issues in batch PDF generation

2006-01-18 Thread Chris Bowditch
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

Re: Dynamic charts issues in batch PDF generation

2006-01-18 Thread Jeremias Maerki
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

Re: Dynamic charts issues in batch PDF generation

2006-01-18 Thread Prakash R
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.