Kavita Kale

Ranch Hand
+ Follow
since Jan 01, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Kavita Kale

just go through kathy's SCJP book,,its toooooooooooo good
14 years ago
Hi,

currently i m working on jasper reports,
i have used ireport 2.0.2 for creation of reports.
i m facing major performance issue for exection of reports in pdf, rtf ,xls & html format.also my one report jrxml contains 5-6 subreports & each having its own query to get that data.
that's why i want to calculate time to execute the jrxml file.

can any one help me how to do that ?

thanks,
kavita
16 years ago
Hi Radha

try like this in jrxml

"<style isBold=\"true\" fontSize=\"10\" pdfFontName=\"arialbd.ttf\" forecolor=\"black\">COMMENT: </style>"
+($P{comments})
Hi sandeeps

in your jrxml file you will get Background band in that you can set your image as a background.
Hi, Arul,
can you please reply ,,, whether i get the printed copy in any book store or not ? or i must have to buy it from online store ...?
17 years ago
means , this is not available in any book store,, i have to buy it from online stores only,,, ( basically I am from pune -India , so can i get that in pune )
is that right ?
[ February 26, 2008: Message edited by: Kavita Kale ]
17 years ago
can i get the printed copy of this book ?
from where ?
17 years ago
can i get the printed copy of this book ?
from where ?
17 years ago
Hi,

I am bit confused in static & synchronized .....

can I make static method / block as synchronized ? and how does it work ?
is it works at class level ?

bye ...
hi,
i am planning to give scjp 1.4 ,,within 10 days.. so please send me the mock exam..
from where i get the mock exam,,that is given by chandra bhatt
Thank you Tommaso...
its very helpful to me....
now i am feeling i am perfect in this topic.
Hi...
my question is too basic...
but i am confused...
just tell me
How to convert hexadecimal to decimal /integer ?
means ...
oX7fffffff = 2147483647
how can i calculate this ?

this topic is from first chapter of kathy's book ...
[ January 04, 2007: Message edited by: Kavita Kale ]
Hey ,,,
Anyone who know ... reply me

Kavita
18 years ago
Hello,

In my project I want to display watermark image using servlet..
code written by me as below...
please tell me what is wrong it shows output as orignal image... & i want it to be a watermark..


package com.solversa;

import java.awt.AlphaComposite;
import java.awt.Composite;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.net.URL;
import javax.imageio.ImageIO;
import javax.servlet.*;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class kk extends HttpServlet

{
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException,IOException
{
doPost(request,response);
}

public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,IOException
{


URL url2 = new URL("http://weblogs.java.net/jag/Image54-large.jpeg");
BufferedImage im2 = ImageIO.read(url2);
Graphics g = im2.getGraphics();
Graphics2D g2d = (Graphics2D)g;
Composite originalComposite = g2d.getComposite();
g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.1f));
try
{

g2d.drawImage(im2,50,50,null);
g2d.dispose();

// remember to define your content type of your response
response.setContentType("image/jpeg");

// grab the servlet outputstream
ServletOutputStream out = response.getOutputStream();

// write your combined imaged to the response output stream
ImageIO.write( im2, "jpeg", out );

//display and close output stream
out.flush();
out.close();
}
catch(Exception e){}


}
}

urgent help required
Thank you,
kavita.
18 years ago
Hello madhuri...

first of all I want to tell you that... that is not structs it is struts.. I dont its your spell mistake.. or you dont know abt it...

for beginners good book is Professional jakarta struts of wrox

Best of luck....
kavita..
18 years ago