@RequestParam and co support placeholders and expressions in their defaultValue attributes (SPR-5922); @Value expressions supported as MVC handler method arguments as well (against request scope)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1877 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2009-09-14 10:48:15 +00:00
parent f809d37db3
commit 05ab1cea77
5 changed files with 127 additions and 24 deletions
@@ -25,8 +25,11 @@ import java.lang.annotation.Target;
* Annotation at the field or method/constructor parameter level
* that indicates a default value expression for the affected argument.
*
* <p>This is typically used for assigning default field values
* with "#{systemProperties.myProp}" style expressions.
* <p>Typically used for expression-driven dependency injection. Also supported
* for dynamic resolution of handler method parameters, e.g. in Spring MVC.
*
* <p>A common use case is to assign default field values using
* "#{systemProperties.myProp}" style expressions.
*
* @author Juergen Hoeller
* @since 3.0