title: How do you acess a property of a bean for reading in a spring xml config file?
body: <p>I want to do something like the following in spring:</p>
  
  <pre><code>&lt;beans&gt;
      ...
      &lt;bean id="bean1" ... /&gt;
      &lt;bean id="bean2"&gt;
          &lt;property name="propName" value="bean1.foo" /&gt;
  ...
  </code></pre>
  
  <p>I would think that this would access the getFoo() method of bean1 and call the setPropName() method of bean2, but this doesn't seem to work.</p>