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

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

0 Answers  


What is MOM?

1 Answers   Wipro,


i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)

2 Answers  


What do you need to set-up a cluster with jboss?

0 Answers  


how convert java file to jar files?

10 Answers   Samsung,






What are the states associated in the thread?

3 Answers  


What is the use of Class.forName

20 Answers   HCL,


Do we need to override service() method

0 Answers  


What is J2EE?

2 Answers  


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

1 Answers  


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

0 Answers  


Why are some of the class and element names counter-intuitive?

0 Answers  






Categories