Win a copy of Head First Android this week in the Android forum!

Roshni Paul

Greenhorn
+ Follow
since Mar 24, 2006
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 Roshni Paul

Hi all,

While unmarshalling using castor, I am loosing new line characters inside my "tag content". Is there any properties to set or any other option for preserving new line characters while marshalling/unmarshalling. I would greatly appreciate if anybody can help me with this.

Thanks in advance,
Rosh
Hi Sanjeev,

Thanks a lot for your inputs. I will try calling SunEd Services. I bought it from a local reseller. I talked with them and they told if I lost my voucher it's like I lost my money. That's why I wanted to check whether anybody else faced this same issue and tried some work around.

Thanks,
~Rosh
Hi All,

I bought one SCBCD exam voucher some two months back and I misplaced it some where!! Could somebody advice me if there is any alternatives are available for getting one duplicate voucher.

Would appreciate any helpful input.

Thanks in advance
Rosh
Hi Celinio,

I disabled firewall and virus scan. I am able to install j2ee1.4 but not j2ee1.3 :-( Is there any other prerequisite for installing j2ee1.3?

Thanks,
~Rosh
Hi Celinio,

The file I am trying to install is j2sdkee-1_3_1-win.exe

But I succeeded installing j2eesdk-1_4_03-windows.exe only. Please provide some tips why I am not able to install the first one.

Thanks,
Rosh
Hi,

I am preparing for SCBCD exam for EJB2.0 with the help of Head First EJB. I downloaded both 1.4 and 1.3 versions of J2EE but I am not able to install 1.3
After double clicking the 1.4 installable I am not getting any response. I tried changing JAVA_HOME and PATH to a jdk1.3, still its not working. Could somebody help me with any tips for getting out of this problem??

Also, is it ok to prepare for the exam with j2ee1.4. Can I run all the sample programs in the Head First Book. Please advice me in this regard

Thanks in Advance,
~Rosh
Hi Shivani,

Thanks much for your reply. I had a security agent running in my PC, when I disabled it server is starting with out any issues. Thanks again.

~Rosh
I downloaded the J2EE sdk from the sun website and everytime I start it I get this message in domain console window:

Starting Domain domain1, please wait.
Log redirected to C:\Sun\AppServer\domains\domain1\logs\server.log.
Domain domain1 failed to startup. Please check the server log for more details.
CLI156 Could not start the domain domain1.

Could someone lend a hand in solving this problem. I couldn't even find any log file.
Hi,

Is it possible to transfer an Exam Voucher??

Thanks,
Rosh
Hi Paul,

Thank you very much. getAvailableIDs(offset) was exactly the function that was searching for.

Thanks,
Rosh
15 years ago
Hi Paul,

Thankyou very much for your reply. I very much agree with you that Date is an absolute number, the number of milliseconds since midnight GMT on January 1, 1970. But if it does not contain timezone information how can be the same absolute value be presented as different times values for different time zones. Could you please put little more light on how this actually works.

Could you please suggest some function that mapps the offset to the time zone string id?

Also,

Date d=new Date();
long m=d.getTimezoneOffset();
System.out.println(m);

This is the getTimezoneOffset() function that I mentioned. It is from java API itself. The out put I am getting is -330.

Thanks,
Rosh
15 years ago
Hi,

The function formatter.parse(finalDate), is creating a Date Object and when call the toString() function it will print the entire date details. So if you want to get the selected fiels, then you can use formatter.format(date).

But in your case it will be formater.format(formatter.parse(finalDate)) which will return the same value that of "finaldate" )

Regards,
Rosh
SimpleDateFormat formatter = new SimpleDateFormat("EEE, MMM dd yyyy"); System.out.println(formatter.parse(finalDate).toString()); // Mon Dec 12 00:00:00 GMT+05:30 2005
15 years ago
Hi,

I was searching for one function that convert the timezone offset value in milliseconds to the corresponding TimeZone String ID representation.

One more doubt is that, my client is sending me time in milliseconds, if I creat a Date object with this time will it represent the clients TimeZone or will it be the TimeZone of my machine where the Date object is created.

Also, My Time Zone is "IST". It is 5:30 hrs ahead of UTC. But when I created one Date object and called getTimeZoneOffset() function on that what i am getting is -330. I am not able to understand why it is coming as negative even when the time is ahead of UTC.

I would greatly appreciate if somebody can help me out.

Thanks in advance,
Martin
15 years ago