Re: Newbie - DataBase

2004-07-30 Thread Peng Tuck Kwok
On Fri, 30 Jul 2004 09:07:36 -0400, Bussie, Andre D [EMAIL PROTECTED] wrote: Is there a way in the Jakarta Struts framework to perform a database query in an Action class w/o using a Action Form Class? It sure is. The next question would be: why would you want to do that in the action ? :D

Re: Newbie - DataBase

2004-07-30 Thread Paul Barry
I think why you would want to do it is pretty obvious, you need to get data from the database to display on your page, such as a list of items. A better question is why would you not want to. That answer to that question is that it would be better to encapsulate your database query in a Data