How u validate date in DD/MM/YY format. and how u validate
money in ur jsp

Answers were Sorted based on User's Feedback



How u validate date in DD/MM/YY format. and how u validate money in ur jsp..

Answer / test

Locale locale = Locale.GERMANY;
String string =
NumberFormat.getCurrencyInstance(locale).format(123.45);

Is This Answer Correct ?    11 Yes 0 No

How u validate date in DD/MM/YY format. and how u validate money in ur jsp..

Answer / sushant

you can use java regex pattern matchers to achieve that.

Is This Answer Correct ?    4 Yes 1 No

How u validate date in DD/MM/YY format. and how u validate money in ur jsp..

Answer / sdf

regex pattern

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is metaspace?

0 Answers  


Difference between hashmap and hashtable?

0 Answers  


What is a clone?

0 Answers  


Can I run seam with jdk 1.4 and earlier?

0 Answers  


Why JDBC has introduced

4 Answers  






int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

0 Answers  


What is the relationship between an event-listener interface and an event-adapter class?

0 Answers  


Difference between DurableSubscription and non- DurableSubscription?

0 Answers  


what are design patterns in java?give with example?

2 Answers   HCL, iGate,


How will you pass parameters in RMI? Why do you serialize?

0 Answers  


What is the highest-level event class of the event-delegation model?

0 Answers  


the advantages of polymorphic

1 Answers  


Categories