java - Setting Object as a value to <form:option> in Spring MVC -


i using spring 3.2.1-release library develop application...

is possible set object value ..

eg:

<form:select path="var">   <form:option value=object1>one</form:option>   <form:option value=object2>two</form:option> </form:select> 

thanks in advance..

no not possible.

what can have map in controller key object name , value object itself. based on selected object name retrieve object.


Comments

Popular posts from this blog

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -