473,581 Members | 3,067 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Watermark background image problem in HTML jasper Report

karthickkuchanur
156 New Member
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 12313
r035198x
13,262 MVP
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 New Member
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 MVP
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 New Member
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

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

Similar topics

0
1634
by: Thomas | last post by:
I've searched google for this topic and found a few examples, but I need an example of how to create a semi-transparent, non-intrusive watermark for images using PIL, something that takes into account the background of the image when choosing color for the text. Making a huge white box or just putting a single-color text across the entire...
0
3092
by: Keith Davies | last post by:
Hi All, a friend wants to create a PDF (using XSL-FO) that contains a watermark that covers the entire page. <fo:block background-image='...'> surrounding the content of the flow almost works, except that it covers *only* where there is content as opposed to the entire page.
1
1494
by: David Slinn | last post by:
I was wondering what the best way to acheive the following would be: What I would like is for the background of every page in my ASP.NET web project to contain a soft red GIF containing the word "TEST" when the version being viewed has been compiled using the DEBUG build. Once we build a release version and place that into production, we...
1
1414
by: Cindy H | last post by:
Hi I'm would like to use a watermark for a background on my web pages. I used the style builder in Visual Studio.Net to add this as a background. It inserted the code in the <body> The problem is on smaller screens this watermark moves up behind the menu instead of being centered on the page. Does anyone know how I can overcome this...
0
5145
by: Kalpesh | last post by:
Hi All, I am using .net crystal reports to develop the reports. The version of crystal report assemblies is 10.2.3600.0. When i run the reports i got following error. #region Retry Report Data into Dataset if (criteria == "") { dsregional = new DataSet();
9
5847
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of overkill, but you can see what I mean. The watermark image (a png image) is included separately below the photo. I tried using a class from...
0
2205
by: =?Utf-8?B?S2Vycnk=?= | last post by:
Hi all -- I am a long-time C programmer and "medium-time" C++ programmer, but am brand new to C#. I am creating a simple app using C# and I need help. The app will display a "watermark" on the screen at certain times. When the watermark is visible, it will be on top of all other applications. To get the look I wanted, I created a...
5
3979
by: ajos | last post by:
hi frnds, this is the way i ve written--> <html:text name="bdgtmastForm" property="publicity_code" size="5" maxlength="5"> but its giving me an error which seems irrelevent.. type Exception report message
2
17965
by: troberts | last post by:
Hi What I'm trying to achieve is a watermark on a search box (text input). I've got it working fine (it displays an image, onfocus it shows no image) but when the user writes something then clicks somewhere else on the page it goes wrong. It displays the text plus the image (when I wrote the code I didn't think of this). I've tried a few other...
0
7860
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8299
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8166
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6546
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5357
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3799
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2298
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1398
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1127
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.