I'm still new to SpringMVC (and jstl for that matter). I'm trying to populate options in a select from a list of objects. I've found a way to do it using c:forEach, but I keep thinking there HAS to be a way to make the form:options method work.

I've browsed around, and about the closest thing I can find to official documentation on the items attribute is here >> http://static.springsource.org/spring/docs/2.0.x/reference/spring-form.tld.html#spring-form.tld.options

It says the items attribute is for

"The Collection, Map or array of objects used to generate the inner 'option' tags"

My confusion is what kind of Collection, Map, or array of objects it's looking for. What format do they need to be in? Is it looking for a Collection or array of type String specifically? Can I use

List<MyObject>

and if so, what would MyObject have to have in it in order for this to be valid (i.e. methods, variables)?

Currently, when I try to use MyObject, I get an exception that says -

ConverterNotFoundException: No converter found capable of converting from type com.example.MyObject to type java.lang.String

Do I need to make a converter? Where would that go? How would that work? I've googled that error message and haven't really turned up anything specific to what I'm trying to do... (Most are results about Roo)

the MyObject class looks like this:

public class MyObject{
    private String company;
    private Customer customer;
    private Address customerAddress;

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Customer getCustomer() {
        return custome
Edit
Report