Create a Java bean for Drop down menu

Posted on July 8, 2008
Filed Under Java |

How to create a Java bean for Drop down menu?

in the java bean:
u need to create the element as an array, and fill up the elements.
Have getter and setter for the element

in the jsp, u can just call the array and loop it and display the elements in the array.


Tags:

If you enjoyed this post, make sure you subscribe to my RSS feed!

Comments

Leave a Reply