Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Populating a drop down with the values from database

 
pradeep Arun
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting the following error when i tried to populate a dropdown with values from database.

Error:
javax.servlet.jsp.JspException: Cannot find bean under name searchlist

i am setting the object in session.

<html:select property="searchType" style="width:120px" name="SearchForm">
<html ption value="">---Select---</html ption>
<html ptions collection="searchlist" property="searchCode" labelProperty ="codeAndName"/>
</html:select>

Need f1 f1!!.


Regards,
Pradeep
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you are using a capital 'L' when setting it?

Please show us the code where you set it to session.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic