File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Populating a drop down with the values from database
Joined: Oct 07, 2005
Oct 14, 2005 00:11:00
I am getting the following error when i tried to populate a dropdown with values from database.
: Cannot find bean under name searchlist
i am setting the object in session.
<html:select property="searchType" style="width:120px" name="SearchForm">
ptions collection="searchlist" property="searchCode" labelProperty ="codeAndName"/>
Need f1 f1!!.
Joined: Feb 05, 2003
Oct 14, 2005 07:27:00
Maybe you are using a capital 'L' when setting it?
Please show us the code where you set it to session.
A good workman is known by his tools.
I agree. Here's the link:
subject: Populating a drop down with the values from database
Struts No getter method problem
how to use horizontal_scroll bar to html:select
html:select - maintain incoming value in drop down box
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015