I\'m currently using the @Value Spring 3.1.x annotation like this:
@Value(\"${stuff.value:}\") private String value;
This puts an empty Str
Thanks to @vorburger:
@Value("${email.protocol:#{null}}") String protocol;
will set the string value at null without any other configurations.