I have a situation where I have an object without a real identifier because the db result does not have a primary key. So, I need to be able to pass a selected object to display a couple of the details of the object. The details (i.e., text) of the object are all text, which is not a good idea to pass to the controller since there could be many caveats if passing text as a parameter, this is why I think passing the entire object instance into the method may be the best plan.
I thought I could use @ModelAttribute but I'm having difficulties because I have not used this before. Currently my object is being sent null.
This is an example of what I am doing.
My
jsp follow:
The relevant part of my Controller...
Thanks for any help you can offer.