This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Assume xyz.jsp has a select control as a HTML form component. Write a separate business component(class file)through which retrieve the values from database. In jsp file , inbetween the jsp tags(<% %> , access the class method which returns the values and populate it in select control. So, when you access the jsp page in browser , inturn it invokes the method which returns the values in the form of vector/arraylist. They will be formated and loaded in Select Control.