Vinod Awar

Ranch Hand
+ Follow
since Nov 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
1
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 Vinod Awar

Hi, The exception is self explanotory. The method definition of init() is not found in the specified class in classpath.
9 years ago
Configure build path > add Library(JRE System library)

This should resolve the issue
Using SOAP handlers you can log the request and response xml
9 years ago
control will go to the begining of the do while loop.
Hi,

Iam trying to start a instance from console but it is always showing this error. I can start and stop other instances.


I have tried by deleting logs also.

Thanks,
Vinod
15 years ago
Hi,

Iam trying to convert date given in taiwan format(yyyMMdd) to dd/MM/yyyy.
See the below code. If the given date is 0970229 in yyyMMdd format the output should be
29/02/2008 but it is printing 01/03/2008. It should print 29/02/2008 as 2008 is a leap year.

Is there any way to let the calendar know that the given year is a leap year?

Thanks,
Vinod
16 years ago


replaceAll(",","\u0020")


But it replaces "," with a space.

it is not the same as replaceAll()..

output:
str:#BC 2,84,56
str:#BC 2 84 56
str:#BC 28456

See the third line there is no space between numbers.
16 years ago


Try replace(',', '')



gives compilation error: Invalid Character constant
16 years ago
I have read the documentation. There is only one method for replacing.
i.e replace(char,char). How can i get the same result as this:
String oldStr="2,756";
oldStr=oldStr.replaceAll(",","");

using the replace(char,char) method of java 1.3

Thanks,
Vinod
16 years ago
Hi all,

what is the character representation of a blank space?
Iam trying to remove commas from a String
for ex:
String oldString="2,8764";
I can replace using String.replace(String,String) method.
but our client uses jdk1.3. So i need to use String.replace(char,char) method.

The resulting string should be like this "28764" (note:there should not be any space between).

Thanks,
Vinod
16 years ago

I have wriiten a java program to read datas from an excel sheet but this reads date as Sat Oct 25 00:00:00 GMT+05:30 2008.



Try by removing the "+05:30" from the string.


Vinod
16 years ago
1) Use Date.parse() to parse this string . It will return a long value
2) Create a Date object with this long value
3) use java.text.SimpleDateFormat's format method to format it to the required date .


Vinod
16 years ago