This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Inappropriate OGNL expression and a strange problem
Assertion in java
How to Configure SSL over Database in Spring?
Spring, Struts 2, Tiles 2 .NoSuchDefinitionException
Struts 2 client side validation not working with xml configuration