Hello Everyone,
I am new to using struts and I have a design issue. Is it better to use
an Action servlet to create a bean of data from a database, or is it
better to create a taglibs that would return the bean. Another solution
could be to use the dbTag taglibs from the Jakarta-taglibs and
simply present the collected Data.
So you seperate business logic from database access and from presentation
Oliver
-Ursprungliche Nachricht-
Von: Mike Brooke [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 27. Februar 2002 15:06
An: Struts Users Mailing List
Betreff: How best to get
:26 AM
To: Struts Users Mailing List
Subject: AW: How best to get SQL:JDBC data?
Hi Mike,
normally i take the Action classes to collect all my data. Maybe you
should implement a Data Access Object which offers an API to
access the
database and
returns the result. In the action you collect
3 matches
Mail list logo