Hi guys!
The situation:
I'm doing an inventory system. I am using
struts framework with JSTL. I need to populate a dropdown menu(<select> or <html:select for struts> ;) but I'm thinking of how I would access the database... If I access the database using the following tags
The problem:
1. My database connection would be tied up with my code and it would be hard to maintain the system if I wanted to change my database in the future... I will always have to get access to the source code...
2. This one is specific to JSTL... Using the following tags...
I don't have any idea how I would get each column in every row... I need to...
<html
ption value="PUT DEPARTMENT_ID HERE">DEPARTMENT_NAME HERE</html
ption>
You have any idea guys? It would really be a great help... Thanks!
[Bear edit: removed "urgent" from title]
[ January 13, 2006: Message edited by: Bear Bibeault ]
[ January 13, 2006: Message edited by: Timothy Sam ]