arpit maurya

Greenhorn
+ Follow
since Jul 29, 2011
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 arpit maurya

Can anyone please tell me how to extract the private key from .pfx file in java.
I am able to extract the client cert & server cert from the file..



Thanks in advance.
11 years ago
Hi, I am new to struts, I have added the commons-beanutils.jar in my class-path but still i am getting this error. Could anyone please let me know what is the issue.
Thanks..

12 years ago
Hi,

Does Hibernate (HQL) support UNION function? If no, any suggestion and example i can reference to .

Please advise...

Vic Hood wrote:Please post in the right forum

Sorry but i guess this is a java related issue only..
12 years ago
JSP
Hi,


I have a code like this..

12 years ago
JSP

Jesper de Jong wrote:See this: Eastern Standard Time which explains that EST is UTC -5 hours.

(Note: GMT is practically the same as UTC. See GMT and Other Time Systems Explained for the details).

Thanks Jesper de Jong..
12 years ago
Hi,

Can anybody please tell me what is the exact amount of difference (in hours) between GMT & EST timezone?
12 years ago

Paul Clapham wrote:Sure, I could give it a try. Post your code.


12 years ago

Ivan Krizsan wrote:Hi!
The service implementation will never be generated - it is not possible to tell how the service is to be implemented from only examining the WSDL.
There is still some work left for us software developers to do, despite all the good tools of today!
Best wishes!

yeah I totally agree with you.. but if we try to generate it from eclipse it will give the implementation file also.. My question is if eclipse is able to generate the impl file based on the the WSDL given then why its not possible through wsconsume ant build? (please correct me if i am wrong as I am new to webservices..
12 years ago

Paul Clapham wrote:You can't convert a date from timezone A to timezone B, because a date doesn't have a timezone in the first place. So the question is meaningless.

You can certainly format a date to appear in timezone B, though. You already know how to do that: use a SimpleDateFormat, set its timezone to B, and use it to format the date. So just do that part.

yes It was my mistake actually, what i need is formatted date only.. after googling i found lots of answers but still i am not able to fix it..
Can you please let me know what could be the possible solution after seeing my code..
12 years ago

Campbell Ritchie wrote:So you would have a String in this format?
2011-07-29 03:54:21 pm

yes..
12 years ago

Campbell Ritchie wrote:... and welcome to the Ranch




Thank you so much...
12 years ago

Campbell Ritchie wrote:What sort of format is AppConstants.Common.EST_DATE_FORMAT?

Why are you using EST to read the format if you want to convert it from GMT? Shouldn't you use a GMT type format there?
If you are reading a timestamp from a database, why do you need to convert it to a Date or Calendar object at all? Doesn't the database return a Timestamp object?



AppConstants.Common.EST_DATE_FORMAT is nothing but the "yyyy-MM-dd HH:mm:ss a" format i am specifying in some CONSTANT file .
I don't know how to solve it so Can you please modify my code & send it..
Thank you so much..
12 years ago
Hi,

I want to format the date from GMT ( DB column's data type is time stamp) to EST timezone but i am not able to do it..
I tried lot of things but still i couldn't succeed.

some piece of code i am pasting--





Please help me.. Thanks in advance..
12 years ago
Hello All,

First of all i am new to webservices. I am able to generate the stubs (java file) through WSConsume ant based on the WSDL file given but problem is implementation file (eg. AssetServiceImpl) is not getting generated.

Any idea/help?

12 years ago