This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring-mvc" Watch "Spring-mvc" New topic


sivaram krishna

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: 502

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:
subject: Spring-mvc
It's not a secret anymore!