On Sat, 11 May 2002 07:37, Leo Simons wrote: > > 7. Anybody can provide a real working example of the Struts + > > Framework combination? > > Struts is a pragmatically developed framework where the developers chose > to work with a fundamentally crappy idea (JSP) because it is in > widespread use (this is a big assumption :).
You can use Struts with other presentation layers. I used struts + Velocity + Avalon for some stuff. It was a little more work than struts + Velocity at the time but I believe that the Velocity people have added a base servlet to help struts <---> velocity integration now. I pretty much put all biz logic in Avalon components, placed these components in ServletSession via startup servlets and then had each Action retrieve the required components/services from ServletSession and work from there. Each action basically called some avalon components then stuffed the results back in a Velocity context and that was it. -- Cheers, Peter Donald -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>