File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 1050

What does commandName mean in SPRING?


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

Joined: Mar 07, 2010
Posts: 1632
    
    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: 60071
    
  65

"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?
 
Similar Threads
Spring Roo Cookbook
nonintrusive in spring
Spring IOC
Spring and CDI
singleton in spring bean