Manu Garg

Greenhorn
+ Follow
since Feb 06, 2006
Merit badge: grant badges
For More
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 Manu Garg

Thanks again...This code can work only for the UST since the time for the UK will be different. I think I will have to set the locale before issuing the SimpleDateFormate...
15 years ago
Hi,

Thanks for replying, This is the XML formate which has Date,Time and TimeZone in separate attribute. Which I am populating in the separate String.
<DisplayableDateTime TimeZone="ET" EventStartDate="20080507" EventStartTime="12:00:00"/>
<DisplayableDateTime TimeZone="UKT" EventStartDate="20080507" EventStartTime="17:00:00"/>
i.e
String TimeZone = ET
String StartDate =20080507
StartTime = 12:00:00
etc.....
15 years ago
Hi All,

I am parsing an XML file which provides me Date,Time Zone for UK and US. Date is fine but the time it provides me is in the Formate 17:00:00 UK and corresponding 12:00:00 US for same event. I would like to convert the time in the Formate 12:00 PM for US and 5:00 PM for UK. Can some one help me how I can acheive this.
I have a separate object which contain both this information, I tried setting the TimeZone to UK and US but didn't work any help will be appreciated
15 years ago
it is considering @ as a special character i.e '/64'.
17 years ago
Hi,

I am new to web-service is currently trying to compile and deploy samples application provide with the SDK i.e hello-jaxws when I try to compile & deploy this application using the ant script provided with this application I get an error :

init:
compile-deploy-service:
[echo] C:/Program Files/Java/jdk1.5.0_02
[javac] Compiling 1 source file to C:\Sun\SDK\domains\domain1\autodeploy
[javac] C:\Sun\SDK\samples\javaee5\webservices\hello-jaxws\src\endpoint\Hell
o.java:6: illegal character: \64
[javac] @WebService
[javac] ^
[javac] 1 error

Any Help will be appreciated. Why do I get this error ? I am using jdk1.5

Thanks.
17 years ago
Hi,

We in the process of writting some custom script which can Start/Stop a window services, Problem is our code is not local to the machine on which we need to Start/Stop a window service, To make thing clearer, we have 2 servers condered it A and B. Our Java code is on Server A which need to Stop/Start a Window service running on Server B (On same n/w). Telnet to Server B is not avaliable.

Any help will be highly appreciated.

MG.