File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Problem with html:select  - Cannot find bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with html:select  - Cannot find bean" Watch "Problem with html:select  - Cannot find bean" New topic
Author

Problem with html:select - Cannot find bean

R Laksh
Greenhorn

Joined: Aug 27, 2003
Posts: 25
When I try to put a select box with some option tags, I am getting "Cannot find bean under name CustomerNames" error. I have searched the forum and im not able to solve it.


<html:select name="CustForm" property="selCustName" multiple="true" size="10">
<html ptions collection="CustomerNames" property="custName" labelProperty="id"/>
</html:select>


I am having a customer form which has a arraylist CustomerNames. This arraylist has customer bean which has proeprties custName and id. The custForm also has a String[] selCustName.

Please let me know what am I doing wrong here.

Thanks
R Laksh
Greenhorn

Joined: Aug 27, 2003
Posts: 25
sorry by mistake posted the same question again
 
wood burning stoves
 
subject: Problem with html:select - Cannot find bean
 
Similar Threads
Getting Error While Populating Drop Down menue from Database :( !!
Problem with html:select - Cannot find bean
Stuck with optionsCollection Tag
Problem in getting selected values from multiselect list
html:options?