This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

arulraj michealraj

Greenhorn
+ Follow
since Mar 02, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by arulraj michealraj

Paul.. Thanks for your help..... I am using XSL1.0. Acutually i cannot change the version to 2.0,as there are so- many xsl files depdend on 1.0.

summaryreport.xsl


//template for row1




The requirement is that subtotals need to be added for each group(group's atrriute is partnerid in summaryReport) in my summary report.
The object(summaryReport) are splitted into row1 and row2 respectively to fullfill our requirements.

Ex: summary report -record 1
partnerid=1;
totalpayment=10.00;
badpayment=20.00;
goodpayment=10.00;
avgpayment=10.00;
minpayment=20.00;
maxpayment=10.00;

summary report -record 2
partnerid=1;
totalpayment=10.00;
badpayment=30.00;
goodpayment=10.00;
avgpayment=40.00;
minpayment=20.00;
maxpayment=10.00;

summary report -record 3
partnerid=3;
totalpayment=10.00;
badpayment=20.00;
goodpayment=10.00;
avgpayment=10.00;
minpayment=20.00;
maxpayment=10.00;

Let's assume I have three records in summaryreport list.when the list is iterating in for-each loop, i have to check the current record's partnerid with next's
partnerid and do the summation(ie:subtotal) for each attribute in summary report till partner id is 1 and displays subtotal at end of each group.similarly i have to do for other group as well.
As i am new to this xsl, i am bit struggling to implement the above scenario.


1) How to compare the first and record object in for-each based on group(partner-id)?
2) how to do the summation for each group(partnerid)attributes?

What i mean here

I want to remove the noise from image and also show that image clearly.
13 years ago
i have one doubt..

I have byte array which has data to draw image. i need to remove unwanted pixels from image.

How can i do it in java ?

please help me?
13 years ago
I have one problem.

To write the content in pdf,we are using itext.jar. when we draw the image using method in itext.jar, picture quality is good.

When you paste the image ,which is already created by some other application, into pdf, the picture quality is bad

Can you please give me details how to improve the picture quality and resolution in java?
13 years ago
I have one doubt in following code
class A
{
}
class B extends A
{
}

1. B objB=new A();// it will say compile time error.

In order to avoid it, we can change that as B objB=(B) new A();
Even though we have changed it, it will say run time error.

My question is that

How can i let jvm to continue its process without giving runtime error for the above problem?
13 years ago
I have two doubt in collection.

1. In which class collection interface methods will be implemented?
2. what is diference between collection(interface) and collections(class) and what is that need?


thanks
Arulraj
13 years ago
I have one doubt..

There are four methods in session tracking. I know the concept of them.
But i don't know in which case we can use them.
When will we decide that this tracking method is best for this scenario?

Can you please tell me with some example?


Thanks
arulraj
13 years ago
I have one doubt..

There are four methos in session tracking. I know the concept of them.
But i don't know in which case we can use them.
When will we decide that this tracking method is best for this scenario?

Can you please tell me detaily?


Thanks
arulraj
13 years ago
Hi ,

I have one doubt in the following code.
class A
{
}
class B extends A.

1. A objA=new A();
2. A obj=new B();
3. B objB=new A();

The first two line will work without giving any error. but for line 3, it will say compile time error.


May i know the reason why this is giving an error?

PLEASE HELP ME

Thanks
Arulraj
13 years ago
Hi,

I am arulraj, i have one doubt in the following code:

class A
{
int x=10;
}
class B
{
int x=20;
}

A a= new B();
System.out.println("value ofx:"+a.x);

What is the output of x?

I thought it will be 20 ,but jvm gives 10...



with respect to overriding, this is ok.... (the method in class b will be called). but for variable, it provide reverse opertion.........

May i know the reason that why is pointing to X containing in class A instead of B.
13 years ago
Which one is best in the following method if you want to pass the data across the page?.
1. putting data by using session object
2. putting data by using hidden form fields

can you please give some example?
13 years ago