struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nilesh" <>
Subject Populating a Listbox
Date Thu, 12 Feb 2004 05:49:38 GMT
I need to populate some lisbox from database at runtime.
Also, there are situations when I populate one list box depending upon the value selected
in another listbox, all from database.

I am using DBCP to connect to mySQL

1)Are there any special tags available in Struts?

2)Can any one suggest a most efficient method to do this, so that there is minimum fetching
from database.

Also please let me know the syntax of populating the listbox and the event on which it is
to be populated, since I have never done it before.
A small sample code(If you have tried it earlier) would help more.

Thanks in advance.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message