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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -