Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Struts 2 Model driven negative integer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 Model driven negative integer" Watch "Struts 2 Model driven negative integer" New topic
Author

Struts 2 Model driven negative integer

Arvind Subramanian
Ranch Hand

Joined: Jul 25, 2008
Posts: 84

How to assign a negative number (-123 or -123.00) to a ModelDriven bean (implements ModelDriven< Bean >). When i try passing the value through request for that action it throws below exception



variable in modeldriven bean is declare as Float


"Many of lifes failure are people who did not realize how close they were to success when they gave up."
-Thomas Edison
~ar~stutzen~
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 Model driven negative integer