Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

populating a dropdown in jsp with java bean value.  RSS feed

 
Moieen Khatri
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to populate a dropdown in my jsp with a List variable groupVec which is a java bean. I am using the following code to get the bean in my jsp:



I dont know how to use the list variable to put its values in the dropdown.

Please can some one advice on this?

Thanks in advance

Moieen
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


give fully qualified name[put your class under a package].and jstl is a good choice for showing the drop down value
 
Moieen Khatri
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,

I resolved this issue.The reasons were many including one that you mentioned.


Thanks again for your help!

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moieen Khatri wrote:
Thanks again for your help!

You are welcome
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!