aspose file tools*
The moose likes Spring and the fly likes What does commandName mean in Spring? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "What does commandName mean in Spring?" Watch "What does commandName mean in Spring?" New topic
Author

What does commandName mean in Spring?

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

What does commandName mean in SPRING?


http://www.lifesbizzare.blogspot.com || OCJP:81%
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1649
    
    7

commandName is the name of the model attribute under which the form object is exposed. Defaults to 'command'. The exact same thing can be said of modelAttribute. A discussion on this is here

http://chompingatbits.com/2009/08/25/spring-formtag-commandname-vs-modelattribute/


[How To Ask Questions][Read before you PM me]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61227
    
  66

"Spring" not "SPRING". It's not an acronym.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does commandName mean in Spring?