aspose file tools
The moose likes Spring and the fly likes Spring-mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 346

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.


Job Offer: Online working Java technical writing
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Spring-mvc
 
Similar Threads
HFE book, p.433
Amout validation
Adding days to January 1, 1900
Duplicate Characters
validation check phone field