Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DropDown Menu error in Struts 2

 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you must first delete the name attribute. and then check if you get some value in drop down then tell me
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic