469,352 Members | 2,154 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

Watermark background image problem in HTML jasper Report

karthickkuchanur
156 100+
I am using JasperReports 2.0.5. I am trying to use the background tag to generate a watermark image for my reports. JRXML source is below and also attached.The problem is that I do not get HTML generated fort the ImageServlet to generate the image when I have other bands defined in the report, e.g. a detail band. It works fine when I have only the background tage defined but no detail band. Furthermore, I get the correct output in PDF with multiple bands, so it is an HTML only problem. The ImageServlet works fine and displays the image when I have no other bands defined, so I think my ImageServlet is configured correctly. Any ideas on what I am doing wrong? Does anyone have an example of a report using a watermark image served up by a webapp using Jasper 2.0.5?

Any pointers/references/info appreciated!
Jun 16 '09 #1
4 11481
r035198x
13,262 8TB
I would suggest using iReport to create and compile the reports. You can design them as you wish (add the images e.t.c) and compile and test them in iReport before trying to call them in servlets.
Jun 17 '09 #2
karthickkuchanur
156 100+
The Real issue is when we there is anything overlap (Like test or anuthing)the Back ground ,The back ground image is not viewed ,i found this base issue ,if it is empty back ground it viewed correctly
Jun 17 '09 #3
r035198x
13,262 8TB
I'm not sure I understand your latest response but you should be able to add background images to a jasper report very easily using the iReport tool that I suggested above.
Jun 17 '09 #4
karthickkuchanur
156 100+
I am using ireport for the designing,the problem is when i run in pdf the background image viewed properly no problem in it ,But when i run in html the background image is get hide,i also find the reason why the image hide in html,the reason is if it is anything placed over the back round image the back round image get hide,when we placed the out of the image ,image viewed properly,i think we cannot use the back ground image in html,if run with only with baclk ground it works,again i tell the issue is overlapping of any object with back ground,i am not able to fix the problem.most of the people have same error when search in the net
Jun 17 '09 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Thomas | last post: by
reply views Thread by Keith Davies | last post: by
1 post views Thread by David Slinn | last post: by
9 posts views Thread by Chuck Anderson | last post: by
reply views Thread by =?Utf-8?B?S2Vycnk=?= | last post: by
5 posts views Thread by ajos | last post: by
2 posts views Thread by troberts | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.