Chitra Raji

Greenhorn
+ Follow
since Dec 01, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Chitra Raji

Hi,

You cannot get the voucher for part 2 through online or any prometric center in India. The available option is to contact partners of SUN. I contacted ESYS, the contact details are as follows:

eSys Information Technologies Limited,
B-65, Okhla Industrial Area,
Phase - I, New Delhi - 110020
Tel : +91 1151811694-96 Ext.4023
Toll Free No : 39700011
Fax : +91 11 51811691-93
www.esys.in

When you contact them, they will ask you to send Part 1 score card, and some basic details like email, address etc. You can pay the amount directly to their ICICI account. You will get a confirmation about the payment immediately.

The actual download access mail is sent by SUN Education, and takes normally a week. I downloaded recently through this method.

NIIT conducts part 1 and part 3, which are online exams.

HTH,

Chitra
Hi,

This is a little late to reply to your query. But since I went through the same quite recently, I am sharing my views.

You cannot get the voucher for part 2 through online or any prometric center in India. The available option is to contact partners of SUN. I contacted ESYS, the contact details are as follows:

eSys Information Technologies Limited,
B-65, Okhla Industrial Area,
Phase - I, New Delhi - 110020
Tel : +91 1151811694-96 Ext.4023
Toll Free No : 39700011
Fax : +91 11 51811691-93
www.esys.in

When you contact them, they will ask you to send Part 1 score card, and some basic details like email, address etc. You can pay the amount directly to their ICICI account. You will get a confirmation about the payment immediately.

The actual download access mail is sent by SUN Education, and takes normally a week.

HTH,

Chitra
Hi Greg T Robertson

Thanx for the information. It worked.

Thanx and Regards
Chitra
20 years ago
Hi susanta

i tried the code that u sent. it is not working. i am still getting the same exception.

thanx.
Chitra
20 years ago
i tried that also. it gives the same exception. any other alternative?
20 years ago
Thanx.

But the problem is i dont want to use files. i want to compress/decompress a string. Following is my code.

private static String compress(String str)
{
String str1 = null;
ByteArrayOutputStream bos = null;
try
{
bos = new ByteArrayOutputStream();
BufferedOutputStream dest = null;

byte b[] = str.getBytes();
GZIPOutputStream gz = new GZIPOutputStream(bos,b.length);
gz.write(b,0,b.length);
bos.close();
gz.close();

}
catch(Exception e) {
System.out.println(e);
e.printStackTrace();
}
byte b1[] = bos.toByteArray();
return new String(b1);
}

private static String deCompress(String str)
{
String s1 = null;

try
{
byte b[] = str.getBytes();
InputStream bais = new ByteArrayInputStream(b);
GZIPInputStream gs = new GZIPInputStream(bais);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int numBytesRead = 0;
byte [] tempBytes = new byte[6000];
try
{
while ((numBytesRead = gs.read(tempBytes, 0, tempBytes.length)) != -1)
{
baos.write(tempBytes);
}
s1 = new String(baos.toByteArray());
s1= baos.toString();
}
catch(ZipException e)
{
e.printStackTrace();
}
}
catch(Exception e) {
e.printStackTrace();
}
return s1;
}
20 years ago
Hi

I compressed a string using GZIPOutputStream. Now when i try to uncompress it using GZIPInputStream throws the following exception "java.util.zip.ZipException: invalid bit length repeat" while reading from the stream.

Anyone who has compressed and or uncompressed strings, please help.
20 years ago
Is there a way to autogenerate one of the components of the composite primary key using hibernate configuration file ?\

I have a table with 3 columns forming a unique key of the table. Is there a way to generate one of them using autogeneration in configuration file?

Thanx in advance.