This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Query regarding html:options Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Query regarding html:options" Watch "Query regarding html:options" New topic
Author

Query regarding html:options

Ayan Dutta
Ranch Hand

Joined: Oct 16, 2005
Posts: 94
Hi,
I want to use the html ptions or html ptionsCollection tag.Just for practice
inside a JSP page I am creating an ArrayList using scriplet.
<%
ArrayList list=new ArrayList();
list.add("a");
list.add("b");
list.add("c");
%>
In the same page I am writing
<html:select property="abc">
<html ptions name="list" />
</html:select>
Now the error is "can not find bean under name org.apache.struts.taglib.BEAN ".
Can anybody sort it out ?
Reagards .
Ayan Dutta
SuprajaY Yasoda
Greenhorn

Joined: Oct 17, 2005
Posts: 17
Hi Dutta,

Check the following jar files were not in the application lib folder
commons-beanutils.jar
commons-digester.jar
Ayan Dutta
Ranch Hand

Joined: Oct 16, 2005
Posts: 94
Hi Yasoda,

commons-beanutils.jar
commons-digester.jar
these 2 files are present in the lib .But then also it is not working .
Any other clue(s) ?
Regards.
Ayan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Query regarding html:options
 
Similar Threads
html:select and html:options or html:optionsCollection
ActionForm contains ArrayList
Select problem
html:options throws an exception, help please!
list box problem