| Author |
How to load data from database in dropdown list using in struts
|
Mariraj Sankar
Greenhorn
Joined: Feb 03, 2011
Posts: 5
|
|
i had tried but i got error
This is Action class(DeleteAction)
This is actionbean (DeleteEmployee)
This is bean class(Crew)
How to create DAO please provide solution
;;;;
i am very confused.....
moderator: added code tags
|
 |
mahesh shinde
Ranch Hand
Joined: Jul 24, 2009
Posts: 69
|
|
Let Me try first some simple
DAO basically contains database related methods
In Your case if you create one new class suppose BookDAO
You can put the getBooks() method in that class
and its become your DAO.
Call that method using creating the instant of DAO class.
|
 |
 |
|
|
subject: How to load data from database in dropdown list using in struts
|
|
|