On 31.Jul.2002 -- 03:48 PM, Richard wrote:
> Hi Guys
> 
> Between Action - DatabaseSelectAction and XSP + ESQL 
> 
> Which is better?

They target different use cases. To output the values, esql is easier
and leaner. You might want to consider the SQLTransformer as well. If
you use XSP, I would still recommend esql. If XSP is not needed, the
transformer approach is 'better'. Action + transformer is also
possible, but IMO unecessarily complex.

> Which is easier to code?

Since you would need to code the output in XSP anyways, esql.

> How am I suppose to get the results on the Action - DatabaseSelectAction?

They are stored in request attributes (see javadocs / docs for names).

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to