From: Jon M. <jo...@te...> - 2006-03-23 14:14:00
|
Alistair Young wrote: >> If Bodington supports servlet includes > > that's a function of the servlet container, not bod. I see what > you're saying Jon but I just feel I'm being sucked back into bod due > to the way it works. No, I'm trying to help you do your own thing from a Bodington template. Honest! You won't be going near Facility. You won't even need Facility to help you reference your code. > The cleanest way to implement a sort of taglib - coz that's what > you're limited to with the current architecture - loads of "sort ofs" > - would be to handle <plugin ... /> tags in a template. Just as I > added <localise ... /> tags. I think it can be done without adding any new tag types to the template DTD. > JSP are compiled to servlets > that's just a by product of the spec - no-one uses JSPs as servlets. > JSPs were invented to get away from servlets. JSP was invented to avoid thousands of lines of code like this one; out.print( "<P>here's another 400 paragraphs of HTML</P>" ); and to provide non-programmers with a less scary route into programming. Jon |