title: Spring: Accessing List of Model Attributes in JSP Dropdown
body: <p>From my controller, I am sending a list of objects to my jsp view. I am using spring form:select tag to make the dropdown which works, but it shows the weird object reference in memory.  How can I get it to just show the name attributes of the objects that I pass in.</p>
  
  <pre><code>    &lt;form:form commandName="game"&gt;
         &lt;form:select path="name" items="${listOfGames}"&gt;&lt;/form:select&gt;
      &lt;/form:form&gt;
  </code></pre>
  
  <p>This code gives me a drop down of game objects, but I want the dropdown to show the name attribute</p>