File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes DropDown Menu error in Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DropDown Menu error in Struts 2" Watch "DropDown Menu error in Struts 2" New topic

DropDown Menu error in Struts 2

Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
Hi All,

I am trying to create a dropdown menu on using struts2 .
I am implementing the UI on jsp with struts taglib.

Now I want to populate the data on the dropdown froma database.
For this I have used the following and created an arraylist

The action for the above submit form is

However I am getting the following error

Please suggest me where I am going wrong.

Sunil Sunny
Ranch Hand

Joined: Oct 18, 2011
Posts: 41
you must first delete the name attribute. and then check if you get some value in drop down then tell me
I agree. Here's the link:
subject: DropDown Menu error in Struts 2
It's not a secret anymore!