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.
Thanks and Regards
David Menfields