I'm trying to wrap my head on this but here is my scenario.
I have a class object called MovieTimeSlot which stores all movie show times. Which contains a movie object, an id, and timestamp of the showdate/time.
The Movie object looks like this:
I then have my controller, AdminTimeslotController, below is a snippet
My trouble is the
jsp page setSchedule. I don't know how to use <form:select> to display the list of movies as an option. This is what I have so far:
I'm receiving an error: Nested Exception is java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'moveTimeslot' available as request attribute
I'm confused how to list the movies in the list. Or, perhaps I'm not thinking this out efficiently and perhaps my workflow needs to be revised.
Thanks.