HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › Watermark Cache Problem This topic has 1 reply, 2 voices, and was last updated Feb 03, 201214:02:19 by PD4ML. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts stefan.leuthner February 3, 2012 at 10:50 #26673 Watermarksettings for a specific jsp are cached by pd4ml:header. We set Watermarks dynamically to flag some printouts as drafts. If this page was printed as draft next printout is still flagged as draft also if watermark settings are removed. Used Version: 3.80 We tried out: – disable cache: System.setProperty(“pd4ml.cache.enable”,”false”) ; – Http Header: httpServletResponse.setHeader(“Cache-Control”,”no-cache”); httpServletResponse.setHeader(“Pragma”,”no-cache”); httpServletResponse.setDateHeader (“Expires”, 0); – Setting path to watermarkimage to an empty image Nothing worked. Please let me know if there is a solution to get this fixed. Thanks! PD4ML February 3, 2012 at 14:02 #28856 Obviously the problem is caused by a reusing of custom tag object instances by the JSP framework. We never experienced exactly such issues on our test environment, but I can imagine that could happen. We’ll check what can be done in the taglib code to prevent that. In the meantime you could check if there is a configuration switch by your application server to disable the optimization. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The forum ‘Troubleshooting’ is closed to new topics and replies.