Ram Chhabra

Greenhorn
+ Follow
since Jun 23, 2007
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 Ram Chhabra

Sorry, but what i understood from the discussion is that, the code:
will work fine in JDK 1.4... ???
13 years ago
Hi,

Can you please explain the pattern used in DecimalFormat constructor, what does that exactly mean


DecimalFormat("###.#####")
13 years ago
Hi,

Whats the basic benefit of Visitors Design Pattern
13 years ago
Hi,

Can you please tell me that in java how can i read the current content from console.

Suppose some process is running and logging something on system console, i just want to get that stuff from system console
13 years ago
Hi,

I am working on one application which is having different timezone then the servers its is hitting.
So, when i fire a query from my timezone, the date get converted according to server timezone and i get wrong results.

Can you please tell me that how should i create a date strictly in GMT timezone so that the date cannot get changed on servers

Thanks
Ram
13 years ago
Thanks for the hint.... i am clear on this now ..

Gaurav
13 years ago
Hi,

I am recently looking over that how to make our own custom annotations using Java 5(Tiger).
I have run over that and also created a very simple and basic annotation like below:



Now, i am confused that how to make use of this annotation, like if in another class i have used this annotation like below:



Like i want that something should happen or some check should be done if this annotation is being used in the application, then how to achieve that?
13 years ago
Thanks Doug, clarified
13 years ago
I have read that if two objects are equal according to the equals() method, they must have the same hashCode() value (although the reverse is not generally true).

Can someone please explain this statement bit more with an example.

Thanks,
Ram
13 years ago
Thanks Teja, very clear and nice reply...clarify my concepts also
Hi

I am new to Java Persistence API (JPA). Can you please give some link to good tutorial.

Thanks
Ram
Hi

I am using JSF, Spring and Shale annotation.

Now i want to implement AJAX in my JSF code so i have downloaded one open source library named ajax4jsf.

It is working fine seprately with JSF but as soon as i implement Shale Annotations in my code it start giving errors related to View Controller.

Cant we use Shale annotations and AJAX togethar.
16 years ago
JSF
Hi

Yes you can surely do that but for that you have to use different Action like:

1. DispatchAction
2. LookupDispatchAction

Hope this help you out.
16 years ago
Which version of Struts are you using
16 years ago
The file which you have created is an XML file or simple text file.
16 years ago