wood burning stoves*
The moose likes Spring and the fly likes Spring-mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring-mvc" Watch "Spring-mvc" New topic
Author

Spring-mvc

sivaram krishna
Greenhorn

Joined: Jan 03, 2013
Posts: 2

Can any body explain the logic to following scnnario


If you enter a letter into an amount field, accidentally or intentionally, when you leave the field the letter will be replaced by 0.00. If not removed this will be what you submit.

The amount field can be found throughout the site on the transaction screen, reports and search screens.

please help me..!
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 498

Did you map the field with a float/double field of a bean in Spring? That's possible a reason which Spring automatically converts form field's value to decimal value.


PM Me If You Want to get Urgent Help on Java Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring-mvc
 
Similar Threads
Duplicate Characters
validation check phone field
HFE book, p.433
Adding days to January 1, 1900
Amout validation