Hi Gernot - Whether one method is a better or worse idea than another is largely dependent on how you implement it. Yes, XSPs do somewhat violate Separation of Concerns. And yes, you can compare XSPs to JSPs in terms of pitfalls.
The fact is, that there are some things you can only do with XSPs. My own personal preference is to first look at alternatives to XSPs (like using SQLTransformer instead of XSP + ESQL logicsheet). Then, if I do use an XSP, I try to use logicsheets wherever possible. If I have <xsp:logic> blocks, I keep them TO A MINIMUM. If have more than say 2 such blocks, I typically make my own logicsheet. The extra time it takes to do this is well worth the savings in administration later on. Bottom line: there is no right or wrong way in Cocoon. Pick you approach, especially if you are comfortable with it. Just develop your own best practices to help you code cleanly and in a way that can easily be maintained later on. Regards, Lajos -- galatea.com Cocoon training, consulting & support Gernot Koller wrote: > Hi! > > First, thanks for your very quick replies to my last question! > > After quite some time discussing and evaluating we made a decision in > favor of cocoon as presentation framework. One major argument for cocoon > and against struts was that in jsp a strict seperation of logic (Java > code) and presentation is not always encouraged. There was also fear > that the same issues might apply to xsp and therefore the decision was > made to use cocoon but to avoid the use of xsp. > > I'm very new to cocoon and by now only have a very vague idea about xsp > and issues that might arise using xsp. So what do you think ? Is it a > bad idea to use cocoon but not use xsp ? Is it generally possible to > compare jsp and xsp in that way? Or are these fears inappropiate? > > thanks, > > Gernot > > > > > > -- > DI Gernot Koller > mailto:[EMAIL PROTECTED] > phone:+43-676-340 55 52 > > > ------------------------------------------------------------------------ > Do you Yahoo!? > Yahoo! News <http://news.yahoo.com/> - Today's headlines --------------------------------------------------------------------- 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]>